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

Inherit color by default

Open DURK opened this issue 4 years ago • 1 comments

Hi @zamarrowski, I'm really happy I found your project, after struggling to implement Ionicons in a non-Ionic React-project. Awesome work! 👍

Question I just found out that to let the icons use the current color of whatever text/button/block I put them in, I have to override the color option to "inherit". For example: <ArrowBackOutline color="inherit" />

Does it make sense to make that the default, instead of #000000?

DURK avatar Feb 22 '21 09:02 DURK

Hi @DURK, yep, make sense. Let me try it in some scenarios to ensure it works and if it's fine I will change the default color to inherit

zamarrowski avatar Feb 22 '21 09:02 zamarrowski