You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
412 B
12 lines
412 B
import { createStackNavigator } from "@react-navigation/stack";
|
|
import CityList from "../CityList";
|
|
|
|
export default function CityNavigator() {
|
|
const Stack = createStackNavigator();
|
|
return (
|
|
<Stack.Navigator initialRouteName="CityList">
|
|
<Stack.Screen name="CityList" component={CityList}/>
|
|
<Stack.Screen name="CityDetails" component={CityDetails}/>
|
|
</Stack.Navigator>
|
|
)
|
|
} |