Documentation - v19.5.0-dev
    Preparing search index...
    interface ToolbarItemProps {
        active?: boolean;
        CustomButtonContent?: ReactNode;
        "data-dd-action-name"?: string;
        disabled?: boolean;
        hidden?: boolean;
        icon: IconType;
        label: string;
        onClick?: MouseEventHandler<HTMLButtonElement>;
        sx?: SxProps;
    }
    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
    
    icon: IconType

    The icon to use for the item

    label: string

    Labels of the item

    onClick?: MouseEventHandler<HTMLButtonElement>
    sx?: SxProps