SearchPageNavigator.js 546 B

1234567891011121314151617181920212223
  1. import { StyleSheet, Text, View } from 'react-native'
  2. import React from 'react'
  3. import { createNativeStackNavigator } from '@react-navigation/native-stack'
  4. import SearchPage from '../screens/SearchPage';
  5. const Stack = createNativeStackNavigator();
  6. const SearchPageNavigator = () => {
  7. return (
  8. <Stack.Navigator
  9. initialRouteName=''
  10. >
  11. <Stack.Screen
  12. name="SearchPage"
  13. component={SearchPage}
  14. options={({navigation}) => ({headerShown: false})}
  15. />
  16. </Stack.Navigator>
  17. )
  18. }
  19. export default SearchPageNavigator