Cra-kitchen-sink: Update to use module format

This commit is contained in:
Michael Shilman 2019-06-27 18:43:39 +08:00
parent c97c2dfe86
commit 9eb043a7f6

View File

@ -1,8 +1,15 @@
// FIXME: svgr issue @igor-dv
import React from 'react';
import { storiesOf } from '@storybook/react';
import App from '../App';
storiesOf('App', module).add('full app', () => <App />);
export default {
title: 'App',
};
export const fullApp = () => <App />;
fullApp.story = {
name: 'full app',
};