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

Frontend: Mutualize butttons #1521

Closed
Franceq34 opened this issue Apr 27, 2022 · 0 comments · Fixed by #1522
Closed

Frontend: Mutualize butttons #1521

Franceq34 opened this issue Apr 27, 2022 · 0 comments · Fixed by #1522

Comments

@Franceq34
Copy link
Contributor

The idea is to hide the use of the CSS framework and mutualize CSS classes in only 1 component, to make the evolution of buttons easier.
In the future the button component could have props like :
disable -> disable the button and put a specific color
icon -> display the given icon in the button
and it won't be the parent responsibility to choose which CSS class use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants