forked from reactchartjs/react-chartjs-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStockExamples.js
52 lines (48 loc) · 1.55 KB
/
StockExamples.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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 />
));