feathericons / react-feather

React component for Feather icons
https://npm.im/react-feather
MIT License
1.92k stars 126 forks source link

Add stroke-width prop to all icons #4

Closed oldwin closed 6 years ago

oldwin commented 6 years ago

Hi, I replaced default strokeWidth="2" with component prop and it works good

default default

carmelopullara commented 6 years ago

Hi,

Thanks for this.

All the icons are build with a script, so I need to update the build script, since it's not changed in the pull request.

To keep the Feather Icons style, however, the stroke-width needs to be set to 2.