Axinom Mosaic Libraries
    Preparing search index...

    Interface IconsProps

    interface IconsProps {
        icon?: IconComponent;
        title?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    Icon to be rendered. Can be either a predefined icon from the IconName enum or a custom React functional component that accepts SvgElementProps.

    // Using a predefined icon
    <Icons icon={IconName.Play} />

    // Using a custom icon component
    const CustomIcon: React.FC<SvgElementProps> = (props) => (
    <SvgElement {...props}>
    <path d="..." />
    </SvgElement>
    );

    <Icons icon={CustomIcon} />
    title?: string

    SVG title (tooltip or additional description shown on hover)