API Reference / @gtkx/navigation / StaticConfigGroup
Type Alias: StaticConfigGroup<ParamList, State, ScreenOptions, EventMap, NavigationList>
StaticConfigGroup<
ParamList,State,ScreenOptions,EventMap,NavigationList> =Omit<RouteGroupConfig<ParamList,ScreenOptions,NavigationList[keyofParamList]>,"screens"|"children"> &object
Defined in: node_modules/.pnpm/@react-navigation+core@7.21.13_react@19.2.8/node_modules/@react-navigation/core/lib/typescript/src/StaticNavigation.d.ts:91
Type Declaration
if?
optionalif?: () =>boolean
Callback to determine whether the screens in the group should be rendered or not. This can be useful for conditional rendering of group of screens.
Returns
boolean
screens
screens:
StaticConfigScreens<ParamList,State,ScreenOptions,EventMap,NavigationList>
Static navigation config or Component to render for the screen.
Type Parameters
ParamList
ParamList extends ParamListBase
State
State extends NavigationState
ScreenOptions
ScreenOptions extends object
EventMap
EventMap extends EventMapBase
NavigationList
NavigationList extends NavigationListBase<ParamList>