Closed benjineering closed 1 year ago
Thank you, I apologize for the delayed response.
Actually, it is already works ($$restProps
did), you can pass class
property to the icon component or IconContext
value. Perhaps it was just missing in the prop type definition.
It will be fixed in the next release, I will close this instead.
Please consider allowing to pass through the class without needing to add superfluous containing elements.
This would be helpful for those of us using Tailwind CSS for example.