Type error: Type '"icon"' is not assignable to type '"lg" | "sm" | "default" | null | undefined'. #2317
Unanswered
cwooldridge1
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
Uh oh!
There was an error while loading. Please reload this page.
-
Whenever I try to pass icon as a prop to a Button component I get this error: 'Type error: Type '"icon"' is not assignable to type '"lg" | "sm" | "default" | null | undefined'.' Despite this being exactly what is shown in the examples
Beta Was this translation helpful? Give feedback.
All reactions