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

Initial USWDS Button component #121

Open
5 tasks
dgading opened this issue Feb 12, 2021 · 0 comments
Open
5 tasks

Initial USWDS Button component #121

dgading opened this issue Feb 12, 2021 · 0 comments
Milestone

Comments

@dgading
Copy link
Member

dgading commented Feb 12, 2021

We use buttons in many places in the data catalogs. We should get a React component that uses the USWDS styles and classes: https://designsystem.digital.gov/components/button/

It should take props for:

  • Variant [default, secondary, accent, accent, warm, base, outline, unstyled]
  • Disabled
  • inverse bool
  • big bool
  • children (the button should take children so anything can be passed in from text to images)

Have documented props, default props, unit tests, and jest test.

@dgading dgading added this to the v2.0.0 milestone Feb 12, 2021
@dgading dgading mentioned this issue Feb 17, 2021
58 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

No branches or pull requests

1 participant