-
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
feat: Add Typescript typings to Breadcrumb, BreadcrumbItems, and BreadcrumbSkeleton #15033
feat: Add Typescript typings to Breadcrumb, BreadcrumbItems, and BreadcrumbSkeleton #15033
Conversation
DCO Assistant Lite bot All contributors have signed the DCO. |
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I have read the DCO document and I hereby sign the DCO. |
// @ts-expect-error - v12 TODO: BREAKING: This should match AriaAttributes['aria-current'] | ||
'aria-current': PropTypes.oneOfType([PropTypes.string, PropTypes.bool]), |
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.
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.
I have created #15052 to address the Incorrect PropTypes to be accepted at a later time as it is a Breaking change.
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.
thank you!! 🎉
Closes #13546
Add typings to Breadcrumb, BreadcrumbItems, and BreadcrumbSkeleton. During work, discovered incorrect PropType in BreadcrumbItem for 'aria-current' and opened #15034 as a result.
Changelog
New
Changed
Removed
Testing / Reviewing
Verify that the storybooks run properly.
Run unit tests