Skip to content

API Reference / @gtkx/navigation / TabViewActionType

Type Alias: TabViewActionType ​

TabViewActionType = { payload: { key?: string; name: string; params?: object; parent?: string; pinned?: boolean; position?: number; select?: boolean; }; type: "OPEN_TAB"; } | { payload: { key?: string; }; type: "CLOSE_TAB"; } | { payload: { key?: string; }; type: "CLOSE_OTHER_TABS"; } | { payload: { key?: string; }; type: "CLOSE_TABS_BEFORE"; } | { payload: { key?: string; }; type: "CLOSE_TABS_AFTER"; } | { payload: { key: string; }; type: "SELECT_TAB"; } | { payload: { key: string; position: number; }; type: "REORDER_TAB"; } | { payload: { key: string; pinned: boolean; }; type: "PIN_TAB"; }

Defined in: packages/navigation/src/tab-view/types.ts:38

Actions specific to the tab view router.