-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathApp.js
More file actions
69 lines (62 loc) · 1.38 KB
/
App.js
File metadata and controls
69 lines (62 loc) · 1.38 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import { SafeAreaView, StyleSheet } from 'react-native';
import { Amplify } from 'aws-amplify';
import config from './src/aws-exports';
import Navigation from './src/navigation';
Amplify.configure(config);
const App = () => {
return (
<SafeAreaView style={styles.root}>
<Navigation />
</SafeAreaView>
);
};
const styles = StyleSheet.create({
root: {
flex: 1,
backgroundColor: '#fafafa',
},
});
// const signUpConfig = {
// header: "My Customizedsername",
// required: true,
// displayOrder: 3,
// type: "string",
// },
// {
// label: "Password",
// key: "password",
// required: true,
// displayOrder: 4,
// type: "password",
// },
// ],
// };
// const customTheme = {
// ...AmplifyTheme,
// button: {
// ...AmplifyTheme.button,
// backgroundColor: 'blue',
// borderRadius: 10,
// }
// }
// export default withAuthenticator(App, {signUpConfig, theme: customTheme}); Sign Up",
// hideAllDefaults: true,
// signUpFields: [
// {
// label: "Full name",
// key: "name",
// required: true,
// displayOrder: 1,
// type: "string",
// },
// {
// label: "Email",
// key: "email",
// required: true,
// displayOrder: 2,
// type: "string",
// },
// {
// label: "Username",
// key: "preferred_u
export default App;