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>
    )
  }