Skip to content

Icon stroke width props do not affect rendered icon #3

@sbetav

Description

@sbetav

Problem

Icon components currently accept props for stroke width, but these props do not affect the rendered icon's stroke width. Applying Tailwind classes or inline styles also does not change the stroke width.

Steps to Reproduce

  1. Render an icon from the library.
  2. Pass a stroke width prop to the icon.
  3. Alternatively, apply a Tailwind class or inline style to set stroke width.
  4. Observe that the icon's stroke width does not change.

Expected Behavior

The icon should render with the specified stroke width when passed as a prop, Tailwind class, or inline style.

Actual Behavior

The icon always renders with the default stroke width, ignoring the provided prop, Tailwind class, or inline style.

Additional Context

This limits the flexibility and customization of icons in different UI contexts.

Labeling as a bug for visibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions