mirror of
https://github.com/bendtherules/react-vis-gridarea.git
synced 2026-08-18 13:51:59 +00:00
18 lines
765 B
JavaScript
18 lines
765 B
JavaScript
import React from 'react';
|
|
|
|
import { storiesOf } from '@storybook/react';
|
|
import { action } from '@storybook/addon-actions';
|
|
import { linkTo } from '@storybook/addon-links';
|
|
|
|
import { Button, Welcome } from '@storybook/react/demo';
|
|
import ChartWithGridAreaHorizontal from './BasicGridAreaHorizontal';
|
|
import ChartWithGridAreaVertical from './BasicGridAreaVertical';
|
|
import ChartWithGridAreaDefaultColor from './GridAreaWithDefaultStyle';
|
|
|
|
storiesOf('Welcome', module).add('to Storybook', () => <Welcome showApp={linkTo('Button')} />);
|
|
|
|
storiesOf('Grid area', module)
|
|
.add('Basic Horizontal', () => <ChartWithGridAreaHorizontal />)
|
|
.add('Basic Vertical', () => <ChartWithGridAreaVertical />)
|
|
.add('With default style', () => <ChartWithGridAreaDefaultColor />)
|