Add basic chart with grid story + Fix all build config

This commit is contained in:
2018-06-28 14:04:45 +05:30
parent efcf4febaa
commit cf246a1778
6 changed files with 117 additions and 6 deletions
+5
View File
@@ -5,6 +5,7 @@ import { action } from '@storybook/addon-actions';
import { linkTo } from '@storybook/addon-links';
import { Button, Welcome } from '@storybook/react/demo';
import ChartWithGrid from './ChartWithGrid';
storiesOf('Welcome', module).add('to Storybook', () => <Welcome showApp={linkTo('Button')} />);
@@ -17,3 +18,7 @@ storiesOf('Button', module)
</span>
</Button>
));
storiesOf('Grid', module)
.add('basic', () => <ChartWithGrid onClick={action('clicked')} />)