-
Notifications
You must be signed in to change notification settings - Fork 3
/
App.tsx
30 lines (28 loc) · 1.21 KB
/
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
import { StatusBar } from 'expo-status-bar';
import { Text, View, SafeAreaView, Button } from 'react-native';
function App() {
const handleButtonClick = () => {
console.log('Button Clicked');
};
return (
<SafeAreaView className="border border-gray-300">
<View className="px-3 py-5">
<Text>Open up App.js to start working on your app!</Text>
<StatusBar style="auto" />
<Text>Hello World</Text>
<Text className="text-blue-500 text-xl px-5 ">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolor cum dicta nihil unde eos
enim iste reiciendis temporibus officia quae consequuntur, aliquid quos recusandae ipsa
aperiam, similique nisi quasi nobis repellendus fuga optio. Accusamus?
</Text>
<Text>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolor cum dicta nihil unde eos
enim iste reiciendis temporibus officia quae consequuntur, aliquid quos recusandae ipsa
aperiam, similique nisi quasi nobis repellendus fuga optio. Accusamus?
</Text>
<Button title="Click Me" color={'green'} onPress={handleButtonClick} />
</View>
</SafeAreaView>
);
}
export default App;