mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 12:10:06 +08:00
docs: info version about Modal.config (#25610)
This commit is contained in:
parent
f7ed77b52f
commit
3da88497ff
@ -123,7 +123,7 @@ React.useEffect(() => {
|
||||
return <div>{contextHolder}</div>;
|
||||
```
|
||||
|
||||
### Modal.config()
|
||||
### Modal.config() `4.5.0+`
|
||||
|
||||
Like `message.config()`, `Modal.config()` could set `Modal.confirm` props globally (such as `prefixCls`), and it will affect `Modal.confirm|success|info|error|warning` **static methods only**.
|
||||
|
||||
|
@ -125,7 +125,7 @@ React.useEffect(() => {
|
||||
return <div>{contextHolder}</div>;
|
||||
```
|
||||
|
||||
### Modal.config()
|
||||
### Modal.config() `4.5.0+`
|
||||
|
||||
类似 `message.config()`,全局设置 `Modal.confirm` 等方法的属性(如 `prefixCls`)。
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user