Skip to content
On this page

Home > @plaidev/karte-action-sdk > ActionChangeStateHook

ActionChangeStateHook type

アクションのライフサイクル changeState で呼び出されるフック関数

Signature:

typescript
type ActionChangeStateHook<Props, Variables> = (props: Parameters<ActionHook<Props, Variables & ActionVariables>>[0], newState: string) => void | Promise<void>;

References: ActionHook, ActionVariables