docs: info version about Modal.config (#25610)

This commit is contained in:
偏右 2020-07-14 11:51:47 +08:00 committed by GitHub
parent f7ed77b52f
commit 3da88497ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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**.

View File

@ -125,7 +125,7 @@ React.useEffect(() => {
return <div>{contextHolder}</div>;
```
### Modal.config()
### Modal.config() `4.5.0+`
类似 `message.config()`,全局设置 `Modal.confirm` 等方法的属性(如 `prefixCls`)。