Added post placeholder

This commit is contained in:
Zhiyuan Zheng 2020-10-24 18:12:14 +02:00
parent 8f6c5af0fd
commit 3c25f4b36a
No known key found for this signature in database
GPG Key ID: 078A93AB607D85E0
2 changed files with 26 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import { StatusBar } from 'expo-status-bar'
import Local from 'src/stacks/Local'
import Public from 'src/stacks/Public'
import Post from 'src/stacks/Post'
import Notifications from 'src/stacks/Notifications'
import Me from 'src/stacks/Me'
@ -54,6 +55,7 @@ export default function Index () {
>
<Tab.Screen name='Local' component={Local} />
<Tab.Screen name='Public' component={Public} />
<Tab.Screen name='Post' component={Post} />
<Tab.Screen name='Notifications' component={Notifications} />
<Tab.Screen name='Me' component={Me} />
</Tab.Navigator>

24
src/stacks/Post.jsx Normal file
View File

@ -0,0 +1,24 @@
import React from 'react'
import { View } from 'react-native'
import { createNativeStackNavigator } from 'react-native-screens/native-stack'
import Base from './Me/Base'
import Authentication from 'src/stacks/Me/Authentication'
const Stack = createNativeStackNavigator()
export default function Post () {
return (
// <Stack.Navigator>
// <Stack.Screen name='Me-Base' component={Base} />
// <Stack.Screen
// name='Me-Authentication'
// component={Authentication}
// options={{
// stackPresentation: 'modal'
// }}
// />
// </Stack.Navigator>
<View></View>
)
}