css.gg icon indicating copy to clipboard operation
css.gg copied to clipboard

Icons in React

Open KirdesMF opened this issue 4 years ago • 2 comments

Good morning, sir, I just started a new project and I'm starting to use css.gg. I use React and styled-component. I've made a codesandbox to show how, maybe, we could import these Icons into React. I know there are already component style based Icons but they should, however, be more customizable. It's just an approach that I think needs to be improved. I also noticed that there are no title tags in the svg. Thanks for the work. Good continuation.

here is the codesandbox :

https://codesandbox.io/s/cssgg-styled-react-hdhtc?file=/src/App.tsx

KirdesMF avatar May 07 '20 14:05 KirdesMF

Will review and get back to you ASAP

astrit avatar May 07 '20 22:05 astrit

I've modified the codesandbox.

KirdesMF avatar May 12 '20 02:05 KirdesMF