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

Permitir que o componente Button receba a prop border e border-color. #343

Open
pedrofpaiva opened this issue Dec 8, 2021 · 1 comment

Comments

@pedrofpaiva
Copy link
Contributor

pedrofpaiva commented Dec 8, 2021

Hoje se precisarmos fazer fazer uma alteração na borda e cor da borda no Button temos que utilizar a prop custom.
Ver o ocorrência: https://gitlab.xproglabs.com/atex/costa-norte/-/merge_requests/188/diffs?commit_id=69d0be627509f8ba68dbdbb3ad8e7019100730b8

@mateusPPinh
Copy link
Contributor

Acredito que há benefícios numa prop de style como a custom. Talvez, no prensa, seja interessante desacoplar essas props. Mas não vejo lado 'ruim' em poder lidar com a borda dentro de uma prop custom, uma vez que é normal utlizarmos: border: 1px solid #7159c1 e assim por diante.

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

2 participants