File tree Expand file tree Collapse file tree
packages/auth/src/screens Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { StyleSheet , View } from 'react-native' ;
3- import { Button } from 'react-native-paper' ;
3+ import { Button , MD3Colors , Text } from 'react-native-paper' ;
44import { useAuth } from '../contexts/AuthContext' ;
55
66const SignInScreen = ( ) => {
77 const { signIn} = useAuth ( ) ;
88
99 return (
1010 < View style = { styles . container } >
11+ < Text variant = "headlineMedium" style = { styles . welcomeHeadline } > Welcome!</ Text >
12+ < Text style = { styles . welcomeText } variant = "bodyLarge" >
13+ This is a dummy login screen. Just press the button and have a look
14+ around this super app 🚀
15+ </ Text >
1116 < Button mode = "contained" onPress = { signIn } >
1217 Login
1318 </ Button >
@@ -22,6 +27,13 @@ const styles = StyleSheet.create({
2227 justifyContent : 'center' ,
2328 alignItems : 'center' ,
2429 } ,
30+ welcomeHeadline : {
31+ color : MD3Colors . primary20 ,
32+ } ,
33+ welcomeText : {
34+ padding : 16 ,
35+ paddingBottom : 32 ,
36+ } ,
2537} ) ;
2638
2739export default SignInScreen ;
You can’t perform that action at this time.
0 commit comments