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 { Auth } from 'aws-amplify' | |
| import { Formik } from 'formik' | |
| import * as Yup from 'yup' | |
| import { AppContainer, Button, Space, ButtonLink, TextError, Input } from 'react-native-unicorn-uikit' | |
| import { onScreen, goBack } from '../../../constants' | |
| const ConfirmSignUp = ({ route, navigation }) => { | |
| const [loading, setLoading] = useState(false) | |
| const [error, setError] = 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 { Platform } from 'react-native' | |
| import t from 'tcomb-form-native' | |
| import FloatingLabel from 'react-native-floating-label' | |
| import { | |
| LABEL_COLOR, | |
| INPUT_COLOR, | |
| ERROR_COLOR, | |
| HELP_COLOR, | |
| BORDER_COLOR, | |
| DISABLED_COLOR, |
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 { Auth } from 'aws-amplify' | |
| import * as Keychain from 'react-native-keychain' | |
| import { Formik } from 'formik' | |
| import * as Yup from 'yup' | |
| import { AppContainer, Space, Button, Input, TextError } from 'react-native-unicorn-uikit' | |
| import { onScreen, goBack } from '../../../constants' | |
| const SignUp = ({ navigation }) => { | |
| const [loading, setLoading] = useState(false) |
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, { memo } from 'react' | |
| import { StyleSheet, Text, View } from 'react-native' | |
| import { RED } from '../../constants' | |
| const styles = StyleSheet.create({ | |
| container: { | |
| alignItems: 'center', | |
| margin: 10 | |
| }, | |
| h1: { |
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, { memo } from 'react' | |
| import { StyleSheet, TextInput, KeyboardAvoidingView } from 'react-native' | |
| const styles = StyleSheet.create({ | |
| container: { | |
| width: 300, | |
| height: 50, | |
| margin: 5, | |
| backgroundColor: '#ddd' | |
| } |
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, { memo } from 'react' | |
| import { StyleSheet, Text, View } from 'react-native' | |
| import { BLUE } from '../../constants' | |
| const styles = StyleSheet.create({ | |
| container: { | |
| alignItems: 'center', | |
| margin: 10 | |
| }, | |
| h1: { |
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, { useEffect, useState } from 'react' | |
| import { Auth } from 'aws-amplify' | |
| import * as Keychain from 'react-native-keychain' | |
| import { AppContainer, Button, Space, H6 } from 'react-native-unicorn-uikit' | |
| import { onScreen } from '../../../constants' | |
| const Hello = ({ navigation }) => { | |
| const [loading, setLoading] = useState(false) | |
| useEffect(() => { | |
| setLoading(true) |
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, { memo } from 'react' | |
| import { View } from 'react-native' | |
| const Space = memo(({ height }) => <View style={{ height: height || 30 }} />) | |
| export { Space } |
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 from 'react' | |
| import { StyleSheet, View } from 'react-native' | |
| import Spinner from 'react-native-spinkit' | |
| import { PINK } from '../../constants' | |
| const styles = StyleSheet.create({ | |
| container: { | |
| flex: 1, | |
| alignItems: 'center', | |
| paddingTop: 200, |