Skip to content

API Reference / @gtkx/navigation / StackActionType

Type Alias: StackActionType

StackActionType = { payload: { name: string; params?: object; }; source?: string; target?: string; type: "REPLACE"; } | { payload: { name: string; params?: object; }; source?: string; target?: string; type: "PUSH"; } | { payload: { count: number; }; source?: string; target?: string; type: "POP"; } | { source?: string; target?: string; type: "POP_TO_TOP"; } | { payload: { merge?: boolean; name: string; params?: object; }; source?: string; target?: string; type: "POP_TO"; }

Defined in: node_modules/.pnpm/@react-navigation+routers@7.6.4/node_modules/@react-navigation/routers/lib/typescript/src/StackRouter.d.ts:2

Released under the MPL-2.0 License.