Interface ExhibitIconButtonProps

interface ExhibitIconButtonProps {
    dense?: boolean;
    disableHover?: boolean;
    icon?: ReactNode | (() => ReactNode);
    outlined?: boolean;
    parentFloat?: FloatReference;
    primary?: boolean;
    selected?: boolean;
    tooltipProps?: Omit<ExhibitTooltipProps, "children">;
}

Hierarchy (view full)

Properties

dense?: boolean
disableHover?: boolean
icon?: ReactNode | (() => ReactNode)

Type declaration

    • (): ReactNode
    • Returns ReactNode

outlined?: boolean
parentFloat?: FloatReference
primary?: boolean

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

Default Value

false
selected?: boolean

If set to a boolean the button will act like a toggle.

tooltipProps?: Omit<ExhibitTooltipProps, "children">

Tooltip properties. If this is specified then the tooltips are used. Do not provide a child as this component will be the child.