import React from 'react'; import { ImageBackground, StyleSheet, View, Dimensions, TouchableOpacity, Image, Alert } from 'react-native'; import { Text, } from 'react-native-paper' import 'react-native-get-random-values'; import { useRegistrationFormState } from '../contexts/RegisterContext'; const RegisterResult = ({navigation, route}) => { const back = () => { navigation.reset({ index: 0, routes: [{name: "Intro"}] }); } return ( {route.params.result} Okay ) } const styles = StyleSheet.create({ container: { position: 'absolute', width: Dimensions.get('window').width, height: Dimensions.get('window').height, flex: 1, flexDirection: 'column', resizeMode: 'cover', }, brandContainer: { marginTop: 70, height: 50, marginBottom: 70, marginLeft: 25, flexDirection: 'column', justifyContent: 'space-evenly' }, title: { fontFamily: 'RacingSansOne-Regular', color: 'white', fontSize: 20, }, nextBtn: { marginHorizontal: 20, borderRadius: 50, justifyContent: 'center', backgroundColor: '#df3f3f', margin: 5, height: 50, alignItems: 'center' }, }) export default RegisterResult;