Closed Matdweb closed 1 year ago
In the previous code you are using the classes 'btn-primary' & 'error' css classes to style buttons globaly. Instead of doing this, we could transform them into a reusable component 'Button'
'btn-primary'
'error'
'Button'
The Button component should behave like this!
Button
This should not modify the way the page works!
In the previous code you are using the classes
'btn-primary'
&'error'
css classes to style buttons globaly. Instead of doing this, we could transform them into a reusable component'Button'
The
Button
component should behave like this!This should not modify the way the page works!