// @ts-ignore
import React from "react";
import {createStackNavigator} from "@react-navigation/stack";
import HomePage from "../HomePage";
import ArtistePage from "../Artist/ArtistePage";
import SearchPage from "../SearchPage";

const Stack = createStackNavigator();

export default function StackNavigationSearchPage() {
    return (
        <Stack.Navigator initialRouteName="Home">
            <Stack.Screen name="Search" component={SearchPage}/>
            <Stack.Screen name="ArtistDetail" component={ArtistePage}/>
        </Stack.Navigator>
    )
}