-
Notifications
You must be signed in to change notification settings - Fork 145
Add Spinner story #1006
base: master
Are you sure you want to change the base?
Add Spinner story #1006
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import React from 'react'; | ||
| import { Spinner } from '../../frontend/src/component/ui/Spinner'; | ||
|
|
||
| export default { | ||
| title: 'UI/Spinner', | ||
| component: Spinner | ||
| }; | ||
|
|
||
| export const spinner = () => { | ||
| return <Spinner />; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| }; | ||


Uh oh!
There was an error while loading. Please reload this page.