index.js 664 Bytes
Newer Older
1
import numeral from 'numeral';
2
import './g2';
3 4 5 6 7 8 9 10 11 12
import ChartCard from './ChartCard';
import Bar from './Bar';
import Pie from './Pie';
import Radar from './Radar';
import Gauge from './Gauge';
import MiniArea from './MiniArea';
import MiniBar from './MiniBar';
import MiniProgress from './MiniProgress';
import Field from './Field';
import WaterWave from './WaterWave';
niko's avatar
niko committed
13 14
import TagCloud from './TagCloud';
import TimelineChart from './TimelineChart';
15 16 17

const yuan = val => `¥ ${numeral(val).format('0,0')}`;

18
export {
19 20 21 22 23 24 25 26 27 28 29
  yuan,
  Bar,
  Pie,
  Gauge,
  Radar,
  MiniBar,
  MiniArea,
  MiniProgress,
  ChartCard,
  Field,
  WaterWave,
niko's avatar
niko committed
30 31
  TagCloud,
  TimelineChart,
32
};