修复了课程表和发帖按钮
This commit is contained in:
@@ -63,6 +63,7 @@ export type MainTabParamList = {
|
||||
export type HomeStackParamList = {
|
||||
Home: undefined;
|
||||
Search: undefined;
|
||||
CreatePost: undefined;
|
||||
};
|
||||
|
||||
export type MessageStackParamList = {
|
||||
@@ -133,6 +134,15 @@ function HomeStackNavigatorComponent() {
|
||||
headerShown: false,
|
||||
}}
|
||||
/>
|
||||
<HomeStack.Screen
|
||||
name="CreatePost"
|
||||
component={CreatePostScreen}
|
||||
options={{
|
||||
title: '发帖',
|
||||
headerShown: false,
|
||||
presentation: 'modal',
|
||||
}}
|
||||
/>
|
||||
</HomeStack.Navigator>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user