Skip to content

API Reference / @gtkx/navigation / StaticScreenFactory

Type Alias: StaticScreenFactory<Bag>

StaticScreenFactory<Bag> = <Screen>(config) => StaticScreenConfig<Screen, Bag["State"], Bag["ScreenOptions"], Bag["EventMap"], Bag["NavigationList"][keyof Bag["ParamList"]]> & StaticScreenConfigBrand

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:144

Type Parameters

Bag

Bag extends NavigatorTypeBagBase

Type Parameters

Screen

Screen extends StaticScreenConfigScreen

Parameters

config

StaticScreenConfig<Screen, Bag["State"], Bag["ScreenOptions"], Bag["EventMap"], Bag["NavigationList"][keyof Bag["ParamList"]]>

Returns

StaticScreenConfig<Screen, Bag["State"], Bag["ScreenOptions"], Bag["EventMap"], Bag["NavigationList"][keyof Bag["ParamList"]]> & StaticScreenConfigBrand

Released under the MPL-2.0 License.