mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 12:28:33 +08:00
b072d3a02c
* docs: move demo to useModal * docs: reorder * chore: update ts def * test: test case * chore: fix compile
8 lines
280 B
Markdown
8 lines
280 B
Markdown
## 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.
|