@hmiproject/helio-sdk
    Preparing search index...

    Type Alias CreateIconOptions

    type CreateIconOptions = {
        category: string;
        description?: string;
        Icon: ComponentType<IconComponentProps & SVGProps<SVGSVGElement>>;
        name: string;
    }
    Index

    Properties

    category: string

    Group name this icon should appear under in the IDE.

    description?: string

    Optional description text for this icon.

    Will be shown in the IDE icon selector and can be used to improve discoverability through search.

    Icon: ComponentType<IconComponentProps & SVGProps<SVGSVGElement>>

    The React component rendering the icon.

    To include SVG icons, import them directly.

    import icon from './myIcon.svg'
    
    name: string

    Human-readable name for this icon.

    Will be shown in the IDE icon selector.