-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Button ex mergestyles #3863
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
Button ex mergestyles #3863
Conversation
gokunymbus
left a comment
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.
Fix the css function bits and you can complete this PR.
|
|
||
| return ( | ||
| <div className='ms-BasicButtonsExample'> | ||
| <div className={ css(classNames.example) }> |
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.
We don't need the css function for one class and at all anymore because merge styles takes care of merging a bunch of class names now.
|
|
||
| return ( | ||
| <div className='ms-BasicButtonsExample'> | ||
| <div className={ css(classNames.example) }> |
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.
Same thing here, we don't need the css() function.
|
|
||
| return ( | ||
| <div className='ms-BasicButtonsTwoUp'> | ||
| <div className={ css(classNames.twoup) }> |
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.
Same as comment above and all other instances.
|
|
||
| return ( | ||
| <div className='ms-BasicButtonsExample'> | ||
| <div className={ css(classNames.example) }> |
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.
Same as above.
Pull request checklist
$ npm run changeDescription of changes
Converted ButtonBasicExample to use mergeStyles instead of SCSS.
Focus areas to test
Visually everything should be the same.