Skip to content

API Reference / @gtkx/navigation / StaticConfigGroup

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

StaticConfigGroup<ParamList, State, ScreenOptions, EventMap, NavigationList> = Omit<RouteGroupConfig<ParamList, ScreenOptions, NavigationList[keyof ParamList]>, "screens" | "children"> & object

Defined in: node_modules/.pnpm/@react-navigation+core@7.21.13_patch_hash=6462da01ed23beee88f01d290d3714743e43d2fd84235198fcbe09501a61d1d4_react@19.2.8/node_modules/@react-navigation/core/lib/typescript/src/StaticNavigation.d.ts:91

Type Declaration ​

if? ​

optional if?: () => 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 extends NavigationListBase<ParamList>