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

    Interface ToolbarItemProps

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

    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

    onClick?: MouseEventHandler<HTMLButtonElement>
    sx?: SxProps