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

const Stack = createStackNavigator();

export default function StackNavigation() {
    return (
        <NavigationContainer>
            <Stack.Navigator initialRouteName="ArtistList">
                <Stack.Screen name="Home" component={HomePage}/>
                <Stack.Screen name="ArtistDetail" component={ArtistePage}/>
            </Stack.Navigator>
        </NavigationContainer>
    )
}