diff --git a/src/navigators/PeopleStack.js b/src/navigators/PeopleStack.js new file mode 100644 index 0000000..0622163 --- /dev/null +++ b/src/navigators/PeopleStack.js @@ -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 ( + + + + + + ); +}; + +export default PeopleStack; diff --git a/src/navigators/TabNavigator.js b/src/navigators/TabNavigator.js index a0efa45..de9cb6c 100644 --- a/src/navigators/TabNavigator.js +++ b/src/navigators/TabNavigator.js @@ -1,8 +1,8 @@ import {createBottomTabNavigator} from "@react-navigation/bottom-tabs"; import HomeStack from "./HomeStack"; import Settings from "../screens/Settings"; -import People from "../screens/People"; import CalendarScreen from "../screens/Calendar"; +import PeopleStack from "./PeopleStack"; import { Ionicons } from '@expo/vector-icons'; import colors from "../layouts/colors"; @@ -34,7 +34,7 @@ const TabNavigator = () => { })} > - + diff --git a/src/screens/PeopleView.js b/src/screens/PeopleView.js new file mode 100644 index 0000000..ef4213a --- /dev/null +++ b/src/screens/PeopleView.js @@ -0,0 +1,14 @@ +import { StyleSheet, Text, View } from 'react-native' +import React from 'react' + +const PeopleView = () => { + return ( + + PeopleView + + ) +} + +export default PeopleView + +const styles = StyleSheet.create({}) \ No newline at end of file