You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BOB_PARTY/bob_party/src/screens/SignUp.tsx

31 lines
1.2 KiB

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"
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