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

#180 - Generic React components #220

Merged
merged 19 commits into from
Feb 1, 2020

Conversation

adamkendis
Copy link
Member

Closes #180
@brodly

NOTE: Dropdown component is not included in this PR. Slightly more involved than the other components and will be split into its own ticket.

Generic React components adhering to Bulma style modifiers:

  • Button
  • Checkbox/Radio
  • ToggleSwitch

Components receive props corresponding with Bulma modifiers, which are passed to classNames for conditional class name generation.

Bulma-checkradio and Bulma-switch used to extend Bulma functionality.

@sellnat77
Copy link
Member

Branch name, pr message, nice work...🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

Copy link
Member

@brodly brodly left a comment

Choose a reason for hiding this comment

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

Can we make the id prop required or provide a default id if none is provided per our conversation on Tuesday?

src/components/common/Button.jsx Outdated Show resolved Hide resolved
Copy link
Member

@brodly brodly left a comment

Choose a reason for hiding this comment

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

Looks good

@brodly brodly merged commit 33f26ff into hackforla:dev Feb 1, 2020
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

3 participants