Commit 3bc5c54c authored by ddcat1115's avatar ddcat1115

add default Charts export

- to support: import Charts from 'ant-design-pro/lib/Charts';
parent fe1aeb2e
...@@ -15,7 +15,24 @@ import TimelineChart from './TimelineChart'; ...@@ -15,7 +15,24 @@ import TimelineChart from './TimelineChart';
const yuan = val => `¥ ${numeral(val).format('0,0')}`; const yuan = val => `¥ ${numeral(val).format('0,0')}`;
const Charts = {
yuan,
Bar,
Pie,
Gauge,
Radar,
MiniBar,
MiniArea,
MiniProgress,
ChartCard,
Field,
WaterWave,
TagCloud,
TimelineChart,
};
export { export {
Charts as default,
yuan, yuan,
Bar, Bar,
Pie, Pie,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment