-
-
Notifications
You must be signed in to change notification settings - Fork 14
Added Button Base Component #275
Added Button Base Component #275
Conversation
Todo: Make new click method. |
Then you should use CSS variables because you can change them at runtime scss variables are fixed at build time. |
LGTM! |
@@ -0,0 +1,79 @@ | |||
@import 'theme-colors'; | |||
button{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Format CSS, maybe use scss loop and map.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the ugly formatted CSS, it seems like everything is fine now.
|
||
import { StyledButtonComponent } from './styled-button.component'; | ||
|
||
describe('StyledButtonComponent', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With version 3, we want to encourage the use of unit tests. Some basic tests for the flavors and the "disabled"-property would be nice and won't take much time! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything else is fine
Co-authored-by: Marcel <[email protected]>
Co-authored-by: Marcel <[email protected]>
Description
Added Button Base Component
Issue
Closes #279