react-feather icon indicating copy to clipboard operation
react-feather copied to clipboard

Add class="feather" attribute to SVG elements

Open aecio opened this issue 7 years ago • 1 comments

Adding the class "feather" to SVG elements would make it easier to apply CSS styles to icons.

Following is an example an SVG element that include a CSS class from https://feathericons.com:

<svg class="feather feather-activity sc-dnqmqq jxshSx" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-reactid="36"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline></svg>

aecio avatar Nov 19 '18 03:11 aecio

Please merge the pull request. This is critical for proper use IMHO.

CorradoSurmanowicz avatar Mar 18 '22 15:03 CorradoSurmanowicz