import React from 'react'
import { createNativeStackNavigator } from '@react-navigation/native-stack'
import { RootStackParamList } from '../@types/navigation'
const { Navigator, Screen } = createNativeStackNavigator<RootStackParamList>()

import { Home } from '~/screens'

const StackRoutes: React.FC = () => {
  return (
    <Navigator
      initialRouteName="Home"
      screenOptions={{
        headerShown: false,
      }}
    >
      <Screen
        name="Home"
        component={Home}
        options={{
          title: 'Home',
        }}
      />
    </Navigator>
  )
}

export default StackRoutes
