Documentation - v19.12.0-dev
    Preparing search index...

    Props for ToolbarItemMenu. Extends ToolbarItemProps, minus onClick, which the menu handles itself to toggle its popup.

    interface ToolbarItemMenuProps {
        active?: boolean;
        CustomButtonContent?: ReactNode;
        "data-dd-action-name"?: string;
        disabled?: boolean;
        hidden?: boolean;
        icon: ViewerIconType;
        label: string;
        sx?: SxProps;
    }

    Hierarchy

    Index

    Properties

    active?: boolean

    Whether the item is active.

    false
    
    CustomButtonContent?: ReactNode

    Set a custom content inside the ToolbarItem button. Replaces the icon.

    "data-dd-action-name"?: string
    disabled?: boolean

    Indicates whether the item should be disabled.

    false
    
    hidden?: boolean

    Whether the item should be hidden.

    false
    

    The icon to use for the item

    label: string

    Labels of the item

    sx?: SxProps