-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
33 lines (29 loc) · 847 Bytes
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import React from 'react';
import { SafeAreaView, ScrollView, StatusBar, StyleSheet } from 'react-native';
import { Colors } from './src/styles';
import { SignInFormContainer } from './src/signIn/SignInFormContainer';
import { SignUpFormContainer } from './src/signUp/SignUpFormContainer';
const App = () => {
return (
<>
<StatusBar barStyle="dark-content" />
<SafeAreaView style={styles.container}>
<ScrollView style={styles.container} contentContainerStyle={styles.contentContainer}>
<SignInFormContainer />
<SignUpFormContainer />
</ScrollView>
</SafeAreaView>
</>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
},
contentContainer: {
backgroundColor: Colors.background,
flexGrow: 1,
paddingHorizontal: 16,
},
});
export default App;