ant-design/components/modal/demo/footer.md

12 lines
490 B
Markdown
Raw Normal View History

2016-08-11 11:41:06 +08:00
## zh-CN
2015-06-12 17:44:29 +08:00
更复杂的例子,自定义了页脚的按钮,点击提交后进入 loading 状态,完成后关闭。
2015-06-12 17:37:39 +08:00
不需要默认确定取消按钮时,你可以把 `footer` 设为 `null`
2016-08-11 11:41:06 +08:00
## en-US
2019-05-07 14:57:32 +08:00
A more complex example which define a customized footer button bar. The dialog will change to loading state after clicking the submit button, and when the loading is done, the modal dialog will be closed.
2016-08-11 11:41:06 +08:00
You could set `footer` to `null` if you don't need default footer buttons.