@stereograph/teiaviewer - v17.8.0-dev
    Preparing search index...

    Interface ToolbarItemMenuProps

    interface ToolbarItemMenuProps {
        active?: boolean;
        CustomButtonContent?: ReactNode;
        disabled?: boolean;
        hidden?: boolean;
        icon:
            | ForwardRefExoticComponent<
                SVGProps<SVGSVGElement> & RefAttributes<SVGSVGElement>,
            >
            | FC<SVGProps<SVGSVGElement>>;
        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.

    disabled?: boolean

    Indicates whether the item should be disabled.

    false
    
    hidden?: boolean

    Whether the item should be hidden.

    false
    
    icon:
        | ForwardRefExoticComponent<
            SVGProps<SVGSVGElement> & RefAttributes<SVGSVGElement>,
        >
        | FC<SVGProps<SVGSVGElement>>

    The icon to use for the item

    label: string

    Labels of the item

    sx?: SxProps