-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.js
More file actions
43 lines (39 loc) · 931 Bytes
/
Copy pathApp.js
File metadata and controls
43 lines (39 loc) · 931 Bytes
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
import { StyleSheet, Text, TouchableOpacity, View } from "react-native";
export default function App() {
return (
<View style={styles.container}>
<Text style={styles.title}>NeuroNest</Text>
<TouchableOpacity style={styles.button}>
<Text style={styles.buttonText}>Child Mode</Text>
</TouchableOpacity>
<TouchableOpacity style={styles.button}>
<Text style={styles.buttonText}>Parent Mode</Text>
</TouchableOpacity>
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#EAF7FF",
alignItems: "center",
justifyContent: "center",
},
title: {
fontSize: 36,
fontWeight: "bold",
marginBottom: 40,
},
button: {
backgroundColor: "#4DA6FF",
padding: 15,
margin: 10,
borderRadius: 10,
width: 200,
},
buttonText: {
color: "white",
fontSize: 18,
textAlign: "center",
},
});