SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface ExhibitPopupMenuItemProps

    TODO - allow popper and popup customizations similar to @mui/tooltip

    interface ExhibitPopupMenuItemProps {
        createPopupPanel?: (props: ExhibitPopupPanelProps) => ReactElement<any>;
        createTooltip?: (props: TooltipProps, disabled: boolean) => Element;
        disabled?: boolean;
        icon?: ReactNode | (() => ReactNode);
        label?: ReactNode;
        onPopupClose?: () => void;
        onPopupOpen?: () => void;
        onQuickClick?: (e: MouseEvent<Element>) => void;
        parentFloat?: FloatReference;
        primary?: boolean;
        propsPopup?: Partial<ExhibitFloatPanelProps>;
        propsQuickButton?: ExhibitQuickButtonProps;
        renderQuickButton?: (props: ExhibitQuickButtonProps) => ReactNode;
        ripple?: ReactNode;
        selected?: boolean;
        showLabel?: boolean;
        tooltip?: NonNullable<ReactNode>;
    }

    Hierarchy (View Summary)

    Index
    createPopupPanel?: (props: ExhibitPopupPanelProps) => ReactElement<any>
    createTooltip?: (props: TooltipProps, disabled: boolean) => Element

    Allows for custom tooltip creation

    disabled?: boolean
    icon?: ReactNode | (() => ReactNode)
    label?: ReactNode
    onPopupClose?: () => void
    onPopupOpen?: () => void
    onQuickClick?: (e: MouseEvent<Element>) => void

    If this set then the popup becomes a split button.

    parentFloat?: FloatReference
    primary?: boolean

    If the icon button is a primary icon button. This may change the color of the text and icon.

    false
    
    propsPopup?: Partial<ExhibitFloatPanelProps>
    propsQuickButton?: ExhibitQuickButtonProps
    renderQuickButton?: (props: ExhibitQuickButtonProps) => ReactNode
    ripple?: ReactNode

    A ripple surface rendered inside the executing (quick) button. Supplied by CommandPopupButton via useManagedRipple — an always-mounted TouchRipple that can flash on any command dispatch (MUI's built-in ripple is lazy-mounted and can't fire for remote executes). When set, the quick button disables its own ripple and hosts this one instead.

    selected?: boolean

    Render as selected,

    showLabel?: boolean

    Render the label as visible button content (alongside any icon / split-toggle checkmark) rather than as tooltip-only. Toolbar (icon) buttons are icon-only by default. Menu items always show the label regardless.

    false
    
    tooltip?: NonNullable<ReactNode>

    Tooltip title. Zero-length titles string are never displayed.