From 949907231b84774c15da2cd452a2d148c9dc9e37 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Thu, 22 Sep 2016 10:09:22 +0800 Subject: [PATCH] docs: udpate demo detail, close: #3111 --- components/form/demo/input-group.md | 2 +- components/form/demo/mix.md | 24 ++++++++++++------------ components/form/demo/validate-other.md | 2 +- components/form/demo/validate-static.md | 4 ++-- components/progress/demo/format.md | 2 +- components/slider/demo/icon-slider.md | 4 ++-- site/theme/template/Home/Banner.jsx | 2 +- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/components/form/demo/input-group.md b/components/form/demo/input-group.md index d90df6580e..32f81bacfb 100644 --- a/components/form/demo/input-group.md +++ b/components/form/demo/input-group.md @@ -56,7 +56,7 @@ ReactDOM.render( diff --git a/components/form/demo/mix.md b/components/form/demo/mix.md index 86bbaf426c..fa264863d2 100644 --- a/components/form/demo/mix.md +++ b/components/form/demo/mix.md @@ -53,27 +53,27 @@ let Demo = React.createClass({ render() { const { getFieldDecorator } = this.props.form; return ( -
+ - {getFieldDecorator('inputNumber', { initialValue: 3 })( - - )} - machines +

O, wind, if winter comes, can spring be far behind?

+

+ link +

-

O, wind, if winter comes, can spring be far behind?

-

- link -

+ {getFieldDecorator('inputNumber', { initialValue: 3 })( + + )} + machines
female )} - Temporarily no other gender + No other gender @@ -87,7 +87,7 @@ ReactDOM.render( wrapperCol={{ span: 12 }} hasFeedback validateStatus="error" - help="Please enter a combination of numbers and alphabets" + help="Should be combination of numbers & alphabets" > diff --git a/components/progress/demo/format.md b/components/progress/demo/format.md index f7bc80f55b..9a8aa87c0e 100644 --- a/components/progress/demo/format.md +++ b/components/progress/demo/format.md @@ -18,7 +18,7 @@ import { Progress } from 'antd'; ReactDOM.render(
- `${percent / 10.0} In Progress`} /> + `${percent}% Discount`} /> 'Complete'} />
, mountNode); diff --git a/components/slider/demo/icon-slider.md b/components/slider/demo/icon-slider.md index 76ef73cbb7..1c63dd851c 100644 --- a/components/slider/demo/icon-slider.md +++ b/components/slider/demo/icon-slider.md @@ -1,6 +1,6 @@ --- order: 2 -title: +title: zh-CN: 带 icon 的滑块 en-US: Slider with icon --- @@ -49,7 +49,7 @@ const IconSlider = React.createClass({ }); ReactDOM.render( - + , mountNode); ```` diff --git a/site/theme/template/Home/Banner.jsx b/site/theme/template/Home/Banner.jsx index 5fc7acbf9e..83ca6c741d 100644 --- a/site/theme/template/Home/Banner.jsx +++ b/site/theme/template/Home/Banner.jsx @@ -27,7 +27,7 @@ export default class Banner extends React.Component {
- +