-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
34 lines (31 loc) · 692 Bytes
/
App.js
File metadata and controls
34 lines (31 loc) · 692 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
import { StatusBar } from 'expo-status-bar';
import { Button, StyleSheet, Text, TextInput, View } from 'react-native';
export default function App() {
return (
<View style={styles.main}>
<View style={styles.container}>
<TextInput
placeholder='Course Goal'
style={styles.input}
/>
<Button title='ADD' />
</View>
</View>
);
}
const styles = StyleSheet.create({
main: {
padding: 70
},
container:{
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'center'
},
input: {
borderBottomColor: 'black',
borderBottomWidth: 1,
padding: 10,
width: 200
}
});