You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a Typescript project using carbon-components-react, try creating a <ToggleSmall> element.
That element requires prop aria-label, which is not a valid JSX prop name. I don't know how that prop even can be provided. So ToggleSmall is unusable without disabling type checking.
I expect this would be fixed by #6653 , which I would love to see happen.
Using Typescript 4.0.5
The text was updated successfully, but these errors were encountered:
carbon-components
carbon-components-react
In a Typescript project using carbon-components-react, try creating a
<ToggleSmall>
element.That element requires prop
aria-label
, which is not a valid JSX prop name. I don't know how that prop even can be provided. So ToggleSmall is unusable without disabling type checking.I expect this would be fixed by #6653 , which I would love to see happen.
Using Typescript 4.0.5
The text was updated successfully, but these errors were encountered: