Skip to content
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

Merged
merged 2 commits into from
Jan 24, 2022
Merged

Conversation

btea
Copy link
Collaborator

@btea btea commented Jan 19, 2022

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow contributing guide English | (中文 | Español | Français).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer to relative issues for your PR.

@github-actions
Copy link

github-actions bot commented Jan 19, 2022

{ 'is-bordered': border },
{ 'is-checked': isChecked },
ns.b(),
checkboxSize ? ns.m(checkboxSize) : '',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
checkboxSize ? ns.m(checkboxSize) : '',
ns.m(checkboxSize),

If checkboxSize is falsey, ns.m will return an empty string.

Copy link
Collaborator Author

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) : '',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@sxzz sxzz merged commit fec3d0c into dev Jan 24, 2022
@sxzz sxzz deleted the refactor/useNamespace branch January 24, 2022 10:13
@element-bot element-bot mentioned this pull request Jan 24, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants