Interface SidePaneContextMenuElementBeta

Context menu element to be shown on the Sidepane. The position of this element is always on top of the Sidepane, on the left side of the cancel button. Only one instance of the SidePaneContextMenuElement is displayed in the Sidepane If one option is provided, a button is rendered with the concatenated label of SidePaneContextMenuElement and the single option SidepaneContextMenuEntry label If more than one option is provided, a dropdown is rendered with the options provided

interface SidePaneContextMenuElement {
    align?: SidePaneAlignment;
    label: string;
    options: SidepaneContextMenuEntry[];
    type: "ContextMenu";
}

Properties

label: string
type: "ContextMenu"

Generated using TypeDoc