-
Notifications
You must be signed in to change notification settings - Fork 148
Add Spinner story #1006
base: master
Are you sure you want to change the base?
Add Spinner story #1006
Conversation
Coteh
commented
Aug 27, 2020
•
edited
Loading
edited
Codecov Report
@@ Coverage Diff @@
## master #1006 +/- ##
=======================================
Coverage 52.58% 52.58%
=======================================
Files 142 142
Lines 3564 3564
Branches 168 168
=======================================
Hits 1874 1874
Misses 1623 1623
Partials 67 67
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Co-authored-by: Harry Liu <[email protected]>
story/src/2-Spinner.stories.tsx
Outdated
}; | ||
|
||
export const spinner = () => { | ||
return <Spinner />; |
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.
Can we wrap the spanner with a background? It's too to see the orbitals and planet on storybook.
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.
I'll see what I can do with Storybook Backgrounds. I'll wrap the component with background as fallback in case that doesn't work out.
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.
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.
One caveat, if you switch background color, it'll always stay that color, even when selecting Spinner
story. I'm going to fallback to wrapping.
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 discussed in PR that we will let the style names go through for now, and revise the naming convention for SCSS module classnames later.