public static State.CreateWorkflowState OnDisableCreateButton(State.CreateWorkflowState state, Actions.DisableCreateButton action) { return(state with { CreateDisabled = true }); }
public static State.CreateWorkflowState OnToggleEditorVisibility(State.CreateWorkflowState state, Actions.ToggleVisualEditor action) { return(state with { ShowVisualEditor = !state.ShowVisualEditor }); }