Interface DeputyPageMenuOption

interface DeputyPageMenuOption {
    action: ((toolbar: DeputyPageToolbar) => PromiseOrNot<void>);
    condition?: ((toolbar: DeputyPageToolbar) => boolean);
    icon?: string;
    label: string;
}

Properties

action: ((toolbar: DeputyPageToolbar) => PromiseOrNot<void>)
condition?: ((toolbar: DeputyPageToolbar) => boolean)
icon?: string
label: string