Closed zstix closed 3 years ago
You can pass strokeWidth as props. In the example on line 17, { ...rest }
is used. So any props (other than exposed props) you pass are applied to the icon. If you pass strokeWidth as a prop it'll override the previously defined attribute of 2.
Description
On the feather icons website there are "customization" controls for previewing the icons. The options for the controls are:
Currently, only
size
andcolor
are exposed as props. It looks like thestrokeWidth
for each icon is being hard-coded as2
(example).This seems like a fairly straightforward adjustment. If you're accepting PRs, I'd be happy to add it!