-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathEatsScreen.js
More file actions
35 lines (32 loc) · 1.17 KB
/
EatsScreen.js
File metadata and controls
35 lines (32 loc) · 1.17 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
import { useNavigation } from '@react-navigation/native'
import React from 'react'
import { Text, TouchableOpacity, View } from 'react-native'
import tw from 'tailwind-react-native-classnames'
import Screen from '../components/Screen'
import Constants from 'expo-constants'
import { Icon } from 'react-native-elements'
import tailwind from 'tailwind-react-native-classnames'
const EatsScreen = () => {
const navigation = useNavigation()
return (
<Screen style={tw`bg-white h-full justify-center`}>
<TouchableOpacity
style={[tailwind`bg-white p-3 rounded-full shadow-lg`, { top: Constants.statusBarHeight, left: 20, position: 'absolute', zIndex: 100 }]}
onPress={() => navigation.goBack()}
>
<Icon
type="antdesign"
name="home"
color="black"
size={16}
// style={}
/>
</TouchableOpacity>
<View style={tailwind`items-center`}>
<Text>Uber Eats</Text>
<Text>Coming soon!</Text>
</View>
</Screen>
)
}
export default EatsScreen