docs: antd 5 deletes Message.warn (#39092)

This commit is contained in:
@linhf2021 2022-11-29 20:28:17 +08:00 committed by GitHub
parent 13ba859202
commit 59d6e6a6c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -36,7 +36,6 @@ This components provides some static methods, with usage and arguments as follow
- `message.error(content, [duration], onClose)`
- `message.info(content, [duration], onClose)`
- `message.warning(content, [duration], onClose)`
- `message.warn(content, [duration], onClose)` // alias of warning
- `message.loading(content, [duration], onClose)`
| Argument | Description | Type | Default |
@ -59,7 +58,6 @@ Supports passing parameters wrapped in an object:
- `message.error(config)`
- `message.info(config)`
- `message.warning(config)`
- `message.warn(config)` // alias of warning
- `message.loading(config)`
The properties of config are as follows:

View File

@ -37,7 +37,6 @@ demo:
- `message.error(content, [duration], onClose)`
- `message.info(content, [duration], onClose)`
- `message.warning(content, [duration], onClose)`
- `message.warn(content, [duration], onClose)` // alias of warning
- `message.loading(content, [duration], onClose)`
| 参数 | 说明 | 类型 | 默认值 |
@ -60,7 +59,6 @@ demo:
- `message.error(config)`
- `message.info(config)`
- `message.warning(config)`
- `message.warn(config)` // alias of warning
- `message.loading(config)`
`config` 对象属性如下: