diff --git a/src/components/Charts/demo/chart-card.md b/src/components/Charts/demo/chart-card.md index 32abac47d4f552883b791bb83ae2d4e8369a2ee0..51204793e0574888d758f8e326866969f0fe6440 100644 --- a/src/components/Charts/demo/chart-card.md +++ b/src/components/Charts/demo/chart-card.md @@ -34,7 +34,13 @@ ReactDOM.render( } + avatar={ + indicator + } action={} total={yuan(126560)} footer={} @@ -43,7 +49,13 @@ ReactDOM.render( } + avatar={( + indicator + )} action={} total={yuan(126560)} /> diff --git a/src/components/Charts/demo/mini-pie.md b/src/components/Charts/demo/mini-pie.md index 6ed0f207305bb3ec3a4279c721070c85f02f6d6a..9b1abf05912171411b13c8eeae4ec17644a6ddca 100644 --- a/src/components/Charts/demo/mini-pie.md +++ b/src/components/Charts/demo/mini-pie.md @@ -3,19 +3,14 @@ order: 6 title: 迷你饼状图 --- -通过简化 `Pie` 属性的设置,可以快速的实现极简的饼状图,可配合 `ChartCard` 组合展现更多业务场景。 +通过简化 `Pie` 属性的设置,可以快速的实现极简的饼状图,可配合 `ChartCard` 组合展 +现更多业务场景。 -````jsx +```jsx import { Pie } from 'ant-design-pro/lib/Charts'; ReactDOM.render( -
- -
-, mountNode); -```` + , + mountNode +); +``` diff --git a/src/components/Charts/demo/pie.md b/src/components/Charts/demo/pie.md index 3cf89f4386b9026e6d78fccdce1ed6d228c5cfde..2929f2a64238d94a63791844d504e9aef6489560 100644 --- a/src/components/Charts/demo/pie.md +++ b/src/components/Charts/demo/pie.md @@ -31,7 +31,7 @@ const salesPieData = [ x: '其他', y: 1231, }, -] +]; ReactDOM.render( +
-

段落示意:蚂蚁金服务设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态, -提供跨越设计与开发的体验解决方案。

+

段落示意:蚂蚁金服务设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。