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

An action which returns the activation state.

Type declaration

  • ReadonlyactionType: StatefulAction
  • ReadonlyonExecute: (active: boolean) => void