parent
f773768851
commit
ac07d0673e
@ -0,0 +1,16 @@
|
||||
import { FC} from "react"
|
||||
import { Pressable, Text} from "react-native"
|
||||
import React from "react"
|
||||
import styles from "./style/ButtonChangeSkin.style"
|
||||
|
||||
export const ButtonChangeSkin:
|
||||
FC<{ onPress: any;}>
|
||||
=
|
||||
({onPress}) =>
|
||||
{
|
||||
return (
|
||||
<Pressable style={styles.button} onPress={onPress}>
|
||||
<Text style={styles.text}>Changer de skin</Text>
|
||||
</Pressable>
|
||||
);
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
import { StyleSheet } from 'react-native';
|
||||
|
||||
export default StyleSheet.create({
|
||||
button: {
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
padding: 3,
|
||||
marginTop: 5,
|
||||
marginHorizontal: 10,
|
||||
borderRadius: 10,
|
||||
backgroundColor: '#2D2C33',
|
||||
},
|
||||
text: {
|
||||
fontSize: 16,
|
||||
lineHeight: 21,
|
||||
fontWeight: 'bold',
|
||||
letterSpacing: 0.25,
|
||||
color: 'white',
|
||||
},
|
||||
});
|
Loading…
Reference in new issue