ant-design/components/modal
C.J. Winslow b9a86b2ea1 Pass the ok and cancel button props in the confirm API (#12425)
This PR adds the `okButtonProps` and `cancelButtonProps` API to the `Modal.confirm` and associated methods.


* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.

Extra checklist:

*isNewFeature* **:**

  * [x] Update API docs for the component.
  * [x] Update/Add demo to demonstrate new feature.
  * [x] Update TypeScript definition for the component.
  * [x] Add unit tests for the feature.
2018-09-30 14:50:03 +08:00
..
__tests__ Pass the ok and cancel button props in the confirm API (#12425) 2018-09-30 14:50:03 +08:00
demo Pass the ok and cancel button props in the confirm API (#12425) 2018-09-30 14:50:03 +08:00
style fix tweak icon 2018-09-07 14:14:23 +08:00
ActionButton.tsx Pass the ok and cancel button props in the confirm API (#12425) 2018-09-30 14:50:03 +08:00
confirm.tsx Pass the ok and cancel button props in the confirm API (#12425) 2018-09-30 14:50:03 +08:00
index.en-US.md Pass the ok and cancel button props in the confirm API (#12425) 2018-09-30 14:50:03 +08:00
index.tsx Hotfix/icon issue (#12016) 2018-09-03 19:29:27 +08:00
index.zh-CN.md Pass the ok and cancel button props in the confirm API (#12425) 2018-09-30 14:50:03 +08:00
locale.tsx fix: should not import moment while useless, close: #8013 2017-10-26 10:50:18 +08:00
Modal.tsx Pass the ok and cancel button props in the confirm API (#12425) 2018-09-30 14:50:03 +08:00