mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-26 23:10:20 +05:30
Add global app styles to the StoryBook, fix casing for UI stories
This commit is contained in:
parent
503687c50a
commit
32ebba63a1
@ -5,6 +5,8 @@ import storeFactory from 'app/storeFactory';
|
|||||||
|
|
||||||
const store = storeFactory();
|
const store = storeFactory();
|
||||||
|
|
||||||
|
import 'app/index.scss';
|
||||||
|
|
||||||
export default story => (
|
export default story => (
|
||||||
<ContextProvider store={store} history={browserHistory}>
|
<ContextProvider store={store} history={browserHistory}>
|
||||||
{story()}
|
{story()}
|
@ -3,7 +3,7 @@ import { storiesOf } from '@storybook/react';
|
|||||||
|
|
||||||
import Button from './Button';
|
import Button from './Button';
|
||||||
|
|
||||||
storiesOf('ui/form', module).add('Button', () => (
|
storiesOf('UI/Form', module).add('Button', () => (
|
||||||
<>
|
<>
|
||||||
<div>
|
<div>
|
||||||
<Button label="Green Button" />{' '}
|
<Button label="Green Button" />{' '}
|
||||||
|
Loading…
Reference in New Issue
Block a user