ant-design/components/modal
Wuxh 16ecdbb58d
fix(modal): Modal.xxx onCancel close argument is not a function (#36600)
* fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`

resolve: 36581

ref: https://github.com/ant-design/ant-design/issues/36581#issuecomment-1189396007

* test(confirm): 补充 modal 测试用例

* test(modal): 添加测试用例

* Revert "fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`"

This reverts commit e4fcb3e62add63193ec9081b2c21e657379bebfb.

* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter

closed: #36581

* chore: cancel the introduction of `noop` from third-party library
2022-07-23 16:04:23 +08:00
..
__tests__ fix(modal): Modal.xxx onCancel close argument is not a function (#36600) 2022-07-23 16:04:23 +08:00
demo Corrected grammar in comment in hooks.md (#36185) 2022-06-23 10:33:12 +08:00
style add Modal @modal-border-radius less variable (#36527) 2022-07-15 14:50:07 +08:00
useModal fix(modal): Modal.xxx onCancel close argument is not a function (#36600) 2022-07-23 16:04:23 +08:00
confirm.tsx fix(modal): Modal.xxx onCancel close argument is not a function (#36600) 2022-07-23 16:04:23 +08:00
ConfirmDialog.tsx chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
destroyFns.ts fix: circular dependencies in Modal & Input (#31817) 2021-08-17 16:22:42 +08:00
index.en-US.md docs: faq about modal. close #35177 2022-04-22 19:30:44 +08:00
index.tsx chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
index.zh-CN.md docs: faq about modal. close #35177 2022-04-22 19:30:44 +08:00
locale.tsx
Modal.tsx fix: Form.Item noStyle should not be affected by parent Form.Item (#35849) 2022-06-06 23:39:00 +08:00