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 button component #311

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from
Open

Conversation

paulclindo
Copy link
Contributor

ButtonBase ahora recibe una prop llamada color en vez de type

  • color : primary (by default) | secondary | transparent
  • disabled : boolean

Reasons:

  • Theming
  • Accessibility, type es un attribute especial de buttons que puede ser submit para forms (especialmente por este motivo), reset o button y lo usabamos para personalizarlo.

@vercel
Copy link

vercel bot commented Mar 30, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/openpolitica/votupe/6xQ1J1kdnSrrgPRkUkYDWx4MmeRs
✅ Preview: https://votupe-git-refactor-button-component-openpolitica.vercel.app

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.

1 participant