-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(UIShell): Export prop types for components #14657
fix(UIShell): Export prop types for components #14657
Conversation
DCO Assistant Lite bot All contributors have signed the DCO. |
I have read the DCO document and I hereby sign the DCO. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
Alright, saw the CI errors, which is what I get for trying to do this directly on GitHub. Hopefully with the last push and update things will be better now... |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Good to go, @tay1orjones? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 ✅
This is a quick bug-fix that just exports some types for the UIShell sub-components that have been converted to Typescript. Currently, the types end up declared as the argument for the component, but not actually visible to consuming Typescript code.
Changelog
Changed
Testing / Reviewing
In a project using
@carbon/react
and Typescript you should be able to useSideNavProps
as a type in a consuming component without a TS 4203 error.