Files
Speedtest-Tracker/conf/site/node_modules/react-chartjs-2/stories/StockExamples.js
Henry Whitaker ea5808047f Tweaked gitignore
gitignore removed all composer and npm files, so automated builds would fail
2020-04-12 21:24:03 +01:00

53 lines
1.6 KiB
JavaScript
Vendored

import React from 'react';
import { storiesOf, action, linkTo } from '@kadira/storybook';
// all of the "stock" stand-alone examples
import DoughnutExample from '../example/src/components/doughnut';
import DynamicDoughnutExample from '../example/src/components/dynamic-doughnut';
import PieExample from '../example/src/components/pie';
import LineExample from '../example/src/components/line';
import BarExample from '../example/src/components/bar';
import HorizontalBarExample from '../example/src/components/horizontalBar';
import RadarExample from '../example/src/components/radar';
import PolarExample from '../example/src/components/polar';
import MixedDataExample from '../example/src/components/mix';
storiesOf('Doughnut Example', module)
.add('Basic Example', () => (
<DoughnutExample />
));
storiesOf('DynamicDoughnut Example', module)
.add('Basic Example', () => (
<DynamicDoughnutExample />
));
storiesOf('Pie Example', module)
.add('Basic Example', () => (
<PieExample />
));
storiesOf('Line Example', module)
.add('Basic Example', () => (
<LineExample />
));
storiesOf('Bar Example', module)
.add('Basic Example', () => (
<BarExample />
));
storiesOf('HorizontalBar Example', module)
.add('Basic Example', () => (
<HorizontalBarExample />
));
storiesOf('Radar Example', module)
.add('Basic Example', () => (
<RadarExample />
));
storiesOf('Polar Example', module)
.add('Basic Example', () => (
<PolarExample />
));
storiesOf('Polar Example', module)
.add('Basic Example', () => (
<PolarExample />
));