mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
8 lines
355 B
Markdown
8 lines
355 B
Markdown
|
## zh-CN
|
|||
|
|
|||
|
在绝大多数场景,都不需要静态方法。它无法消费 context,例如无法响应动态主题。请优先使用 hooks 版本或者 `App` 组件提供的 Modal 实例。
|
|||
|
|
|||
|
## en-US
|
|||
|
|
|||
|
In most case, you do not need static method. It can not consume context like dynamic theme. Please use hooks version or `App` provided instance first.
|