Has classNames been removed? #758
Unanswered
baufometic
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is a chance that something in my repo has changed, but up until recently I was able to pass the prop 'className' directly to the icon as such, and it would apply styles:
Has something changed in recent updates, or is it just my linter? Now I get the following error:
Type '{ className: string; }' is not assignable to type 'IntrinsicAttributes & IconBaseProps'.
Property 'className' does not exist on type 'IntrinsicAttributes & IconBaseProps'.
Beta Was this translation helpful? Give feedback.
All reactions