Skip to content

API Reference / @gtkx/navigation / SplitViewScreenProps

Type Alias: SplitViewScreenProps<ParamList, RouteName, NavigatorID> ​

SplitViewScreenProps<ParamList, RouteName, NavigatorID> = object

Defined in: packages/navigation/src/split-view/types.ts:35

Props a split view screen component receives.

Type Parameters ​

ParamList ​

ParamList extends ParamListBase

RouteName ​

RouteName extends keyof ParamList = keyof ParamList

NavigatorID extends string | undefined = undefined

Properties ​

navigation: SplitViewNavigationProp<ParamList, RouteName, NavigatorID>

Defined in: packages/navigation/src/split-view/types.ts:41

Navigation object of the screen.


route ​

route: RouteProp<ParamList, RouteName>

Defined in: packages/navigation/src/split-view/types.ts:43

The route the screen renders.