-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
030db07
commit 2d3af72
Showing
3 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import {createStackNavigator} from "@react-navigation/stack"; | ||
import Comment from "../screens/Comment"; | ||
import People from "../screens/People"; | ||
import PeopleView from "../screens/PeopleView"; | ||
|
||
const Stack = createStackNavigator(); | ||
|
||
const PeopleStack = () => { | ||
return ( | ||
<Stack.Navigator screenOptions={{headerShown: false}}> | ||
<Stack.Screen name={"People"} component={People} /> | ||
<Stack.Screen name={"PeopleView"} component={PeopleView} /> | ||
<Stack.Screen name={"People"} component={Comment} /> | ||
</Stack.Navigator> | ||
); | ||
}; | ||
|
||
export default PeopleStack; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { StyleSheet, Text, View } from 'react-native' | ||
import React from 'react' | ||
|
||
const PeopleView = () => { | ||
return ( | ||
<View> | ||
<Text>PeopleView</Text> | ||
</View> | ||
) | ||
} | ||
|
||
export default PeopleView | ||
|
||
const styles = StyleSheet.create({}) |