mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
upgrade steps demos
This commit is contained in:
parent
9f33b18336
commit
51369ec82b
@ -40,11 +40,11 @@ const App = React.createClass({
|
||||
const cs = this.state.currentStep;
|
||||
return (
|
||||
<div>
|
||||
<div>当前正在执行第 {cs + 1} 步</div>
|
||||
<div style={{ marginBottom: 24 }}>当前正在执行第 {cs + 1} 步</div>
|
||||
<Steps current={cs}>
|
||||
{steps.map((s, i) => <Step key={i} title={s.title} description={s.description} />)}
|
||||
</Steps>
|
||||
<div>
|
||||
<div style={{ marginTop: 24 }}>
|
||||
<Button onClick={this.next}>下一步</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user