-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[useBadge] Add interface for the return value #36042
[useBadge] Add interface for the return value #36042
Conversation
…e hook is returning
UseBadgeReturnValue
interface with the types that the UseBadg…UseBadgeReturnValue
interface with the types that the UseBadg…
Netlify deploy previewhttps://deploy-preview-36042--material-ui.netlify.app/ Bundle size report |
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.
We need to add a JSDocs description on this props, so that the documentation can include them in the API page. See fore xample #36046
Looks like on the descriptions was changed, we need to run |
Sorry for the delay @mnajdova . That script deletes my changes is this ok? |
UseBadgeReturnValue
interface with the types that the UseBadg…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 did the remaining things. It looks good now. @skevprog Thanks for the contribution!
Add a
UseBadgeReturnValue
interface with the types that the UseBadge hook is returning