2021-11-11 15:19:54 +08:00
|
|
|
import { storiesOf } from '@storybook/react';
|
|
|
|
import * as React from 'react';
|
2022-02-23 19:47:14 +08:00
|
|
|
import Quantize from './components/Quantize';
|
2021-11-11 15:19:54 +08:00
|
|
|
import PointScale from './components/Point';
|
2022-05-23 18:45:45 +08:00
|
|
|
import Threshold from './components/Threshold';
|
2022-05-27 16:00:16 +08:00
|
|
|
import Diverging from './components/Diverging';
|
2022-02-23 19:47:14 +08:00
|
|
|
|
2021-11-11 15:19:54 +08:00
|
|
|
storiesOf('数据映射', module)
|
2022-02-23 19:47:14 +08:00
|
|
|
.add('枚举类型', () => <PointScale />)
|
2022-05-23 18:45:45 +08:00
|
|
|
.add('颜色范围等分', () => <Quantize />)
|
2022-05-27 16:00:16 +08:00
|
|
|
.add('离散', () => <Diverging />)
|
2022-05-23 18:45:45 +08:00
|
|
|
.add('自定义范围', () => <Threshold />);
|