-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
refactor(components): [checkbox] use useNamespace #5493
Conversation
{ 'is-bordered': border }, | ||
{ 'is-checked': isChecked }, | ||
ns.b(), | ||
checkboxSize ? ns.m(checkboxSize) : '', |
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.
checkboxSize ? ns.m(checkboxSize) : '', | |
ns.m(checkboxSize), |
If checkboxSize is falsey, ns.m will return an empty string.
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.
ok
{ 'is-checked': isChecked }, | ||
{ 'is-focus': focus }, | ||
ns.b('button'), | ||
size ? ns.bm('button', size) : '', |
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.
Same here
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.
Updated.
Please make sure these boxes are checked before submitting your PR, thank you!
dev
branch.