Skip to content

API Reference / @gtkx/navigation / StaticConfigScreens

Type Alias: StaticConfigScreens<ParamList, State, ScreenOptions, EventMap, NavigationList> ​

StaticConfigScreens<ParamList, State, ScreenOptions, EventMap, NavigationList> = { [RouteName in keyof ParamList]: React.ComponentType<any> | StaticNavigation<any, any, any> | Omit<StaticRouteConfig<ParamList, RouteName, State, ScreenOptions, EventMap, NavigationList[RouteName]>, "name" | "component" | "getComponent" | "children"> & { if?: () => boolean; linking?: PathConfig<ParamListBase> | string | null; screen: StaticNavigation<any, any, any> | React.ComponentType<any> } | StaticScreenConfigBranded }

Type Parameters ​

ParamList ​

ParamList extends ParamListBase

State ​

State extends NavigationState

ScreenOptions ​

ScreenOptions extends object

EventMap ​

EventMap extends EventMapBase

NavigationList extends NavigationListBase<ParamList>