From 1f95db915ceda9859022483d4bf54f6221b97121 Mon Sep 17 00:00:00 2001 From: nikogu <644506165@qq.com> Date: Tue, 5 Dec 2017 19:14:21 +0800 Subject: [PATCH] fixed components demo lint --- src/components/Charts/demo/chart-card.md | 16 ++++++++++++++-- src/components/Charts/demo/mini-pie.md | 19 +++++++------------ src/components/Charts/demo/pie.md | 2 +- src/components/Charts/demo/radar.md | 2 +- src/components/Charts/demo/waterwave.md | 2 +- src/components/HeaderSearch/demo/basic.md | 1 - src/components/PageHeader/demo/image.md | 3 +-- src/components/TagSelect/demo/expandable.md | 2 -- 8 files changed, 25 insertions(+), 22 deletions(-) diff --git a/src/components/Charts/demo/chart-card.md b/src/components/Charts/demo/chart-card.md index 32abac47..51204793 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 6ed0f207..9b1abf05 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 3cf89f43..2929f2a6 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,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。