index.tsx 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import React, { useState } from 'react';
  2. import { Text, View } from 'react-native';
  3. import { PageWrapper, BigText, Input, Button } from '../../components/';
  4. import { styles } from './styles';
  5. const ResetPasswordDeepScreen = () => {
  6. const [pass, setPass] = useState('');
  7. const [repPass, setRepPass] = useState('');
  8. //TODO: Add pass checks | add res pass functionality
  9. return (
  10. <PageWrapper style={{ marginTop: '10%' }}>
  11. <View style={{ gap: 15 }}>
  12. <BigText>Reset password</BigText>
  13. <Text style={styles.smallText}>
  14. Minimum length of the password must be equal or greater 8 symbols. Leading and trailing
  15. spaces will be ignored
  16. </Text>
  17. <Input placeholder={'Password'} onChange={(s) => setPass(s)} header={'New password'} />
  18. <Input
  19. placeholder={'Repeat password'}
  20. onChange={(s) => setRepPass(s)}
  21. header={'Confirm new password'}
  22. />
  23. </View>
  24. <View style={{ marginTop: '10%' }}>
  25. <Button>Reset password</Button>
  26. </View>
  27. </PageWrapper>
  28. );
  29. };
  30. export default ResetPasswordDeepScreen;