flexlayout-react
    Preparing search index...

    Interface IPopupMenuItem

    A single entry in a PopupMenu. Provide label (with optional icon) for the common case, or content for a fully custom item body (overrides label/icon).

    interface IPopupMenuItem {
        content?: ReactNode;
        disabled?: boolean;
        icon?: ReactNode;
        key: string;
        label?: string;
        type?: "item";
    }
    Index
    content?: ReactNode

    custom item body; when present it overrides label and icon

    disabled?: boolean

    when true the item cannot be selected

    icon?: ReactNode

    optional leading icon, shown before the label

    key: string

    stable unique key for this item

    label?: string

    text shown for the item when content is not given

    type?: "item"

    entry discriminant; defaults to a selectable item