index.js 657 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
import numeral from 'numeral';
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
12 13
import TagCloud from './TagCloud';
import TimelineChart from './TimelineChart';
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

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

export default {
  yuan,
  Bar,
  Pie,
  Gauge,
  Radar,
  MiniBar,
  MiniArea,
  MiniProgress,
  ChartCard,
  Field,
  WaterWave,
niko's avatar
niko committed
29 30
  TagCloud,
  TimelineChart,
31
};