This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react' | |
import { Image, Text, TextInput, TouchableOpacity, View } from 'react-native' | |
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'; | |
import styles from './styles'; | |
export default function RegistrationScreen({navigation}) { | |
const [fullName, setFullName] = useState('') | |
const [email, setEmail] = useState('') | |
const [password, setPassword] = useState('') | |
const [confirmPassword, setConfirmPassword] = useState('') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react' | |
import { Image, Text, TextInput, TouchableOpacity, View } from 'react-native' | |
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'; | |
import styles from './styles'; | |
export default function RegistrationScreen({navigation}) { | |
const [fullName, setFullName] = useState('') | |
const [email, setEmail] = useState('') | |
const [password, setPassword] = useState('') | |
const [confirmPassword, setConfirmPassword] = useState('') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { StyleSheet } from 'react-native'; | |
export default StyleSheet.create({ | |
container: { | |
flex: 1, | |
alignItems: 'center' | |
}, | |
title: { | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'react-native-gesture-handler'; | |
import React, { useEffect, useState } from 'react' | |
import { NavigationContainer } from '@react-navigation/native' | |
import { createStackNavigator } from '@react-navigation/stack' | |
import { LoginScreen, HomeScreen, RegistrationScreen } from './src/screens' | |
import {decode, encode} from 'base-64' | |
if (!global.btoa) { global.btoa = encode } | |
if (!global.atob) { global.atob = decode } | |
const Stack = createStackNavigator(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState } from 'react' | |
import { Image, Text, TextInput, TouchableOpacity, View } from 'react-native' | |
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'; | |
import styles from './styles'; | |
export default function LoginScreen({navigation}) { | |
const [email, setEmail] = useState('') | |
const [password, setPassword] = useState('') | |
const onFooterLinkPress = () => { |
NewerOlder