类型别名 StatefulAction

StatefulAction: {
    actionType: StatefulAction;
    onExecute: (active: boolean) => void;
}

An action which returns the activation state.

类型声明

  • 只读actionType: StatefulAction
  • 只读onExecute: (active: boolean) => void