docs: Spin, Progress - demos - english translation (#3051)

* spin demos translation

* Progress demo translation
This commit is contained in:
Marius Ileana 2016-09-18 04:24:49 +03:00 committed by Benjy Cui
parent 3d25f65c2b
commit 837ec0cb07
3 changed files with 7 additions and 7 deletions

View File

@ -18,8 +18,8 @@ import { Progress } from 'antd';
ReactDOM.render(
<div>
<Progress type="circle" percent={75} format={percent => `${percent / 10.0}`} />
<Progress type="circle" percent={100} format={() => '成功'} />
<Progress type="circle" percent={75} format={percent => `${percent / 10.0} In Progress`} />
<Progress type="circle" percent={100} format={() => 'Complete'} />
</div>
, mountNode);
````

View File

@ -25,15 +25,15 @@ const Card = React.createClass({
},
render() {
const container = (
<Alert message="消息提示的文案"
description="消息提示的辅助性文字介绍消息提示的辅助性文字介绍消息提示的辅助性文字介绍"
<Alert message="Alert message title"
description="Further details about the context of this alert."
type="info"
/>
);
return (
<div>
<Spin spinning={this.state.loading}>{container}</Spin>
切换加载状态<Switch checked={this.state.loading} onChange={this.toggle} />
Loading state<Switch checked={this.state.loading} onChange={this.toggle} />
</div>
);
},

View File

@ -18,8 +18,8 @@ import { Spin, Alert } from 'antd';
ReactDOM.render(
<Spin tip="Loading...">
<Alert message="消息提示的文案"
description="消息提示的辅助性文字介绍消息提示的辅助性文字介绍消息提示的辅助性文字介绍"
<Alert message="Alert message title"
description="Further details about the context of this alert."
type="info"
/>
</Spin>