-
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: exporting typescript props for various components - 1 #16447
Conversation
✅ 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. |
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!!
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@Gururajj77 Looks like the PR got closed for some reason. I'm gonna re-open and try to merge it again |
111db86
Hey there! v11.58.0 was just released that references this issue/PR. |
Main issue #16154
Closes #16373 -
InlineLoadingProps
Closes #16374 -
LoadingProps
Closes #16375 -
ModalProps
Closes #16376 -
NumberInputProps
Closes #16377 -
ProgressBar
andProgressIndicator
Exporting the typescript props for the above mentioned components as part of typescript adoption
(This PR is mentioned as 1, as we have more components where props needs to be exported so there will be more PRs regarding this)
Changelog
Changed
.tsx
files if not doneindex.ts
and exporting them explicitly so that users can import them directly with the component.Label
in theNumberInput
asFC
component as typescript wasn't recognising it as component and due to this, propTypes was throwing error while build.Testing / Reviewing
No changes to the component, so new testing observations.