RegistrationResult.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import React from 'react';
  2. import { ImageBackground, StyleSheet, View, Dimensions, TouchableOpacity, Image, Alert } from 'react-native';
  3. import { Text, } from 'react-native-paper'
  4. import 'react-native-get-random-values';
  5. import { useRegistrationFormState } from '../contexts/RegisterContext';
  6. const RegisterResult = ({finish}) => {
  7. return (
  8. <TouchableOpacity onPress={finish} style={styles.nextBtn} >
  9. <Text style={{ color: 'white', fontSize: 20 }}>Okay</Text>
  10. </TouchableOpacity>
  11. )
  12. }
  13. const styles = StyleSheet.create({
  14. container: {
  15. position: 'absolute',
  16. width: Dimensions.get('window').width,
  17. height: Dimensions.get('window').height,
  18. flex: 1,
  19. flexDirection: 'column',
  20. resizeMode: 'cover',
  21. },
  22. brandContainer: {
  23. marginTop: 70,
  24. height: 50,
  25. marginBottom: 70,
  26. marginLeft: 25,
  27. flexDirection: 'column',
  28. justifyContent: 'space-evenly'
  29. },
  30. title: {
  31. fontFamily: 'RacingSansOne-Regular',
  32. color: 'white',
  33. fontSize: 20,
  34. },
  35. nextBtn: {
  36. marginHorizontal: 20,
  37. marginTop: 50,
  38. borderRadius: 50,
  39. justifyContent: 'center',
  40. backgroundColor: '#df3f3f',
  41. margin: 5,
  42. height: 50,
  43. alignItems: 'center'
  44. },
  45. })
  46. export default RegisterResult;