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

[core] HTML Label component #2571

Merged
merged 4 commits into from
Jun 6, 2018
Merged

[core] HTML Label component #2571

merged 4 commits into from
Jun 6, 2018

Conversation

giladgray
Copy link
Contributor

@giladgray giladgray commented Jun 5, 2018

Fixes #2460

Changes proposed in this pull request:

  • 🔥 Label is now a simple HTML wrapper like Code or H1. no props modifiers.
    • prefer using FormGroup for all your React form needs
    • the complexity of two approaches was unnecessary, and FormGroup can handle any use case you throw at it (not true of Label)
  • refactor examples usage of component
    • this repo is probably the largest user of the Label component

@blueprint-bot
Copy link

fix Label usages in examples

Preview: documentation | landing | table

@giladgray giladgray requested review from invliD and removed request for themadcreator June 6, 2018 17:51
Copy link
Member

@invliD invliD left a comment

Choose a reason for hiding this comment

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

❤️

@giladgray giladgray merged commit 381cbc7 into develop Jun 6, 2018
@giladgray giladgray deleted the gg/better-label branch June 6, 2018 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants