-
-
Notifications
You must be signed in to change notification settings - Fork 5
Icon stroke width props do not affect rendered icon #3
Copy link
Copy link
Open
Description
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
- Render an icon from the library.
- Pass a stroke width prop to the icon.
- Alternatively, apply a Tailwind class or inline style to set stroke width.
- 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels