Add global app styles to the StoryBook, fix casing for UI stories

This commit is contained in:
ErickSkrauch 2020-01-15 22:15:04 +03:00
parent 503687c50a
commit 32ebba63a1
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E
3 changed files with 3 additions and 1 deletions

View File

@ -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()}

View File

@ -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" />{' '}