diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-02-01 17:05:18 -0500 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-02-02 18:44:04 -0500 |
| commit | bd9ed0712bae14729d18f4d34b891bb82d4550ff (patch) | |
| tree | 74acece7caadcc30a130e279c058cf7ee4baa63e /src/screens/onboarding/Login.tsx | |
| parent | 00adcf1eddd51d954992dfd5a494ee5310d42d5b (diff) | |
initial work
Diffstat (limited to 'src/screens/onboarding/Login.tsx')
| -rw-r--r-- | src/screens/onboarding/Login.tsx | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/src/screens/onboarding/Login.tsx b/src/screens/onboarding/Login.tsx index 63296ede..833e36cb 100644 --- a/src/screens/onboarding/Login.tsx +++ b/src/screens/onboarding/Login.tsx @@ -15,7 +15,7 @@ import { } from 'react-native'; import SplashScreen from 'react-native-splash-screen'; import {useDispatch} from 'react-redux'; -import {Background, SubmitButton, TaggInput} from '../../components'; +import {Background, TaggInput, TaggSquareButton} from '../../components'; import { LOGIN_ENDPOINT, TAGG_LIGHT_PURPLE, @@ -216,20 +216,6 @@ const Login: React.FC<LoginProps> = ({navigation}: LoginProps) => { ); /** - * Login screen login button. - */ - const LoginButton = () => ( - <SubmitButton - text="Let's Start!" - color="#fff" - style={styles.button} - accessibilityLabel="Let's Start!" - accessibilityHint="Select this after entering your tagg username and password" - onPress={handleLogin} - /> - ); - - /** * Login screen registration prompt. */ const RegistrationPrompt = () => ( @@ -300,7 +286,19 @@ const Login: React.FC<LoginProps> = ({navigation}: LoginProps) => { ref={inputRef} /> <ForgotPassword /> - <LoginButton /> + <TaggSquareButton + onPress={handleLogin} + title={'Login'} + mode={'normal'} + color={'purple'} + /> + <TaggSquareButton + onPress={handleLogin} + title={'Login'} + mode={'normal'} + color={'white'} + /> + {/* <LoginButton /> */} </KeyboardAvoidingView> <RegistrationPrompt /> </Background> |
