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

    Type Alias CreateIconResult

    CreateIconResult: { namespace: Namespace } & {
        category: string;
        description?: string;
        Icon: ComponentType<IconComponentProps & SVGProps<SVGSVGElement>>;
        name: string;
    }

    Type Declaration

    • category: string

      Group name this icon should appear under in the IDE.

    • Optionaldescription?: 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.