mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 21:28:09 +08:00
b072d3a02c
* docs: move demo to useModal * docs: reorder * chore: update ts def * test: test case * chore: fix compile
280 B
280 B
zh-CN
通过 Modal.useModal
创建支持读取 context 的 contextHolder
。其中仅有 hooks 方法支持 Promise await
操作。
en-US
Use Modal.useModal
to get contextHolder
with context accessible issue. Only hooks method support Promise await
operation.