From 058199ed2c0e768a49c3091d306aea887831ee8a Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 1 Sep 2015 17:43:08 +0800 Subject: [PATCH] update steps --- components/steps/demo/icon.md | 2 +- components/steps/demo/small-size.md | 2 +- components/steps/demo/step-next.md | 2 +- components/steps/index.jsx | 17 ++++++++++------- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/components/steps/demo/icon.md b/components/steps/demo/icon.md index a7434d34e3..cfe7b2954a 100644 --- a/components/steps/demo/icon.md +++ b/components/steps/demo/icon.md @@ -2,7 +2,7 @@ - order: 2 -通过设置`Steps.Step`的`icon`属性,可以启用自定义图标。 +通过设置 `Steps.Step` 的 `icon` 属性,可以启用自定义图标。 --- diff --git a/components/steps/demo/small-size.md b/components/steps/demo/small-size.md index 571f3a69eb..9dad4881f4 100644 --- a/components/steps/demo/small-size.md +++ b/components/steps/demo/small-size.md @@ -2,7 +2,7 @@ - order: 1 -迷你版的步骤条,通过设置``启用. +迷你版的步骤条,通过设置 `` 启用. --- diff --git a/components/steps/demo/step-next.md b/components/steps/demo/step-next.md index 041f8bc11a..5ac40920f6 100644 --- a/components/steps/demo/step-next.md +++ b/components/steps/demo/step-next.md @@ -2,7 +2,7 @@ - order: 3 -随机生成3~6个步骤,初始随机进行到其中一个步骤。 +随机生成 3~6 个步骤,初始随机进行到其中一个步骤。 --- diff --git a/components/steps/index.jsx b/components/steps/index.jsx index de0f9d4d71..76e667cec1 100644 --- a/components/steps/index.jsx +++ b/components/steps/index.jsx @@ -11,15 +11,18 @@ const AntSteps = React.createClass({ }; }, render() { - return ( - {this.props.children} - ); + return ( + + {this.props.children} + + ); } }); + AntSteps.Step = Steps.Step; export default AntSteps;