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

Add <CheckboxGroup> and <Checkbox> interactive component #109

Merged
merged 11 commits into from
Feb 10, 2020
Merged

Conversation

yhatt
Copy link
Owner

@yhatt yhatt commented Feb 7, 2020

Resolves #108.

  • The grouping component for checkboxes was named <CheckboxGroup> to keep a consistency with similar component <RadioButtonGroup>.
  • <CheckboxGroup> can control the state of children through values property. However, the state per checkboxes can override with checked property. User should use either one.
  • Both of raw mrkdwn and HTML-like formatting are enabled in the content of checkbox and description property.
  • If description property is not defined in <Checkbox>, contents in <small> intrinsic HTML element will redirect to that. This behavior should make available in <RadioButton> too.

@yhatt yhatt marked this pull request as ready for review February 8, 2020 18:07
@yhatt yhatt merged commit bc8eab1 into master Feb 10, 2020
@yhatt yhatt deleted the checkbox branch February 10, 2020 02:37
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.

Interactive components for checkbox
1 participant