-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
27 lines (25 loc) · 766 Bytes
/
App.js
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
import { StatusBar } from "expo-status-bar";
import {
StyleSheet,
Text,
TextInput,
TouchableOpacity,
View,
} from "react-native";
import { SafeAreaView } from "react-native-safe-area-context";
import { appStyles as styles } from "./AppStyles";
export default function App() {
return (
<SafeAreaView style={{ flex: 1, padding: 20 }}>
<Text style={styles.title}>TODO App</Text>
<Text style={styles.disc}>
Enter your task in the text box to add new task.
</Text>
<TextInput style={styles.textbox} placeholder="Write your task." />
<TouchableOpacity style={{ width: 0 }}>
<Text style={styles.taskButton}>Add Task</Text>
</TouchableOpacity>
<StatusBar style="dark" />
</SafeAreaView>
);
}