import {createNavigator, GlobalTheme, NavigationRoute} from 'tuya-panel-kit'
import ComposeLayout from './composeLayout'

export function Navigation(router: NavigationRoute[]) {
  return ComposeLayout(createNavigator<{ theme: GlobalTheme }>({
    router: router,
    screenOptions: {},
  }))
}
