From 76d43e8d1b21fbfcf581a83b62f241372dd6b287 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Thu, 29 Sep 2016 14:35:33 +0800 Subject: [PATCH] docs: update demo --- components/date-picker/demo/start-end.md | 4 ++-- components/date-picker/demo/time.md | 4 ++-- components/switch/demo/text.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/date-picker/demo/start-end.md b/components/date-picker/demo/start-end.md index 67a835e9f9..87982832e8 100644 --- a/components/date-picker/demo/start-end.md +++ b/components/date-picker/demo/start-end.md @@ -64,7 +64,7 @@ const DateRange = React.createClass({ showTime format="YYYY-MM-DD HH:mm:ss" value={this.state.startValue} - placeholder="开始日期" + placeholder="Start" onChange={this.onStartChange} onOpenChange={this.handleStartOpenChange} /> @@ -73,7 +73,7 @@ const DateRange = React.createClass({ showTime format="YYYY-MM-DD HH:mm:ss" value={this.state.endValue} - placeholder="结束日期" + placeholder="End" onChange={this.onEndChange} open={this.state.endOpen} onOpenChange={this.handleEndOpenChange} diff --git a/components/date-picker/demo/time.md b/components/date-picker/demo/time.md index 54b21dc97c..b16d233b56 100644 --- a/components/date-picker/demo/time.md +++ b/components/date-picker/demo/time.md @@ -17,10 +17,10 @@ This property provide an additional time selection. When `showTime` is an Object import { DatePicker } from 'antd'; function onChange(value) { - console.log('选择了时间:', value); + console.log('Selected Time: ', value); } ReactDOM.render( - + , mountNode); ```` diff --git a/components/switch/demo/text.md b/components/switch/demo/text.md index e41d60de9a..655be18c67 100644 --- a/components/switch/demo/text.md +++ b/components/switch/demo/text.md @@ -17,8 +17,8 @@ With text and icon. import { Switch, Icon } from 'antd'; ReactDOM.render(
- - + + } unCheckedChildren={} />
, mountNode); ````