mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
modal custom footer demo
This commit is contained in:
parent
14c046b87d
commit
edc0f4bbc0
@ -37,8 +37,8 @@ var Test = React.createClass({
|
||||
visible={this.state.visible}
|
||||
title="对话框标题" onOk={this.handleOk} onCancel={this.handleCancel}
|
||||
footer={[
|
||||
<button key="back" className="ant-btn" onClick={this.handleCancel}>返 回</button>,
|
||||
<button key="submit" className="ant-btn ant-btn-primary" onClick={this.handleOk}>
|
||||
<button key="back" className="ant-btn ant-btn-lg" onClick={this.handleCancel}>返 回</button>,
|
||||
<button key="submit" className="ant-btn ant-btn-primary ant-btn-lg" onClick={this.handleOk}>
|
||||
提 交
|
||||
<i className={'anticon anticon-loading'+(this.state.loading?'':'hide')}></i>
|
||||
</button>
|
||||
|
Loading…
Reference in New Issue
Block a user