Closed QaahirStewart closed 1 year ago
No sure to understand, any extra attribute you give to Icon it forwarded to the underlying component.
< Icon name="uil:github" size="50" fill="green" />
I think I understand the meaning of the question. Naturally you would expect something like this to work because it's how you fill a SVG:
< Icon name="uil:github" size="50" fill="green" />
But it does not. The correct way to do it is pass the color
attribute, which may not be obvious to everyone, hence the issue.
Yep, I was just talking about the documentation itself. It wasn't apparent that I could use color as a prop. ex < Icon name="uil:github" size="50" color="green" /> the document just stated the name and size props.
Can update the Docs with color props.
< Icon name="uil:github" size="50" color="green" />