-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[docs][joy] Build TS versions for Checkbox component demos #36381
Conversation
Netlify deploy previewhttps://deploy-preview-36381--material-ui.netlify.app/ Bundle size report |
opacity: 0.32, | ||
}, | ||
} | ||
: undefined, |
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.
checked={value.includes(item)} | ||
color="neutral" | ||
variant={value.includes(item) ? 'outlined' : 'plain'} | ||
onChange={(event) => { |
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.
Type needed
label={item} | ||
checked={value.includes(item)} | ||
variant={value.includes(item) ? 'soft' : 'outlined'} | ||
onChange={(event) => { |
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.
Type needed
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.
event
type would be inferred right, any reason why we would need to add type explicitly?
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.
Because I want to keep consistency throughout Joy TS demos.
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!
part of #36367