mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Add global app styles to the StoryBook, fix casing for UI stories
This commit is contained in:
@ -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" />{' '}
|
||||||
|
Reference in New Issue
Block a user