mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Cra-kitchen-sink: Update to use module format
This commit is contained in:
parent
c97c2dfe86
commit
9eb043a7f6
@ -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',
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user