mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
docs: antd 5 deletes Message.warn (#39092)
This commit is contained in:
parent
13ba859202
commit
59d6e6a6c2
@ -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:
|
||||
|
@ -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` 对象属性如下:
|
||||
|
Loading…
Reference in New Issue
Block a user