Skip to content

The [strokeWidth] property is mandatory although it is optional, the default value is missing #1

@michaelcardoza

Description

@michaelcardoza

Description

The [strokeWidth] property of icons is marked as optional, but has no default value implemented. This forces to always specify a value to be able to see the icon.

Environment

  • Angular version: 19.2

Steps

  1. Import and use the icon component without specifying a strokeWidth
  2. Try to render the icon
  3. Observe that the icon is not visible/properly rendered

Wrong:
<hugeicons-icon [icon]="ArrowExpandIcon"></hugeicons-icon>

Works:
<hugeicons-icon [icon]="ArrowExpandIcon" [strokeWidth]="1.5"></hugeicons-icon>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions