TEMP: Mise en commentaire du screen SignUp

stub-api
Alban GUILHOT 3 years ago
parent 142eec96b4
commit 5c2f4ebaa1

@ -1,30 +1,30 @@
import { StatusBar } from 'expo-status-bar'
import { StyleSheet, View, ImageSourcePropType, Pressable, Text} from 'react-native'
import React from 'react';
import stylesScreen from './style/screens.style'
import { TextInput } from 'react-native-gesture-handler';
import { CustomTextInput } from '../components/CustomTextInput';
import { ButtonGameTypeChoice } from '../components/ButtonGameTypeChoice';
// import { StatusBar } from 'expo-status-bar'
// import { StyleSheet, View, ImageSourcePropType, Pressable, Text} from 'react-native'
// import React from 'react';
// import stylesScreen from './style/screens.style'
// import { TextInput } from 'react-native-gesture-handler';
// import { CustomTextInput } from '../components/CustomTextInput';
// import { ButtonGameTypeChoice } from '../components/ButtonGameTypeChoice';
import styles from "./style/SignIn.style"
// import styles from "./style/SignIn.style"
function SignUp(props: { navigation: any; }) {
const { navigation } = props
return (
<View style={stylesScreen.container}>
<View style={stylesScreen.bodyCenter}>
<CustomTextInput placeholder={""} text="Pseudo"/>
<CustomTextInput placeholder={""} text="Mot de passe"/>
<CustomTextInput placeholder={""} text="Mot de passe"/>
<CustomTextInput placeholder={""} text="Nationalité"/>
<CustomTextInput placeholder={""} text="Date de naisance"/>
<CustomTextInput placeholder={""} text="Sexe"/>
<Pressable style={styles.button} onPress={navigation.navigate('Home')}>
<Text style={styles.text}>S'inscrire</Text>
</Pressable>
</View>
</View>
);
}
// function SignUp(props: { navigation: any; }) {
// const { navigation } = props
// return (
// <View style={stylesScreen.container}>
// <View style={stylesScreen.bodyCenter}>
// <CustomTextInput placeholder={""} text="Pseudo"/>
// <CustomTextInput placeholder={""} text="Mot de passe"/>
// <CustomTextInput placeholder={""} text="Mot de passe"/>
// <CustomTextInput placeholder={""} text="Nationalité"/>
// <CustomTextInput placeholder={""} text="Date de naisance"/>
// <CustomTextInput placeholder={""} text="Sexe"/>
// <Pressable style={styles.button} onPress={navigation.navigate('Home')}>
// <Text style={styles.text}>S'inscrire</Text>
// </Pressable>
// </View>
// </View>
// );
// }
export default SignUp
// export default SignUp

Loading…
Cancel
Save