You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
type: 反馈
|
|
|
|
category: Components
|
|
|
|
title: Result
|
|
|
|
cols: 1
|
|
|
|
subtitle: 结果
|
|
|
|
---
|
|
|
|
|
|
|
|
用于反馈一系列操作任务的处理结果。
|
|
|
|
|
|
|
|
## 何时使用
|
|
|
|
|
|
|
|
当有重要操作需告知用户处理结果,且反馈内容较为复杂时使用。
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
|
|
|
| 参数 | 说明 | 类型 | 默认值 |
|
|
|
|
| --- | --- | --- | --- |
|
|
|
|
| title | title 文字 | ReactNode | - |
|
|
|
|
| subTitle | subTitle 文字 | ReactNode | - |
|
|
|
|
| status | 结果的状态,决定图标和颜色 | `success` \| `error` \| `info` \| `warning` \| `404` \| `403` \| `500` | `info` |
|
|
|
|
| icon | 自定义 icon | ReactNode | - |
|
|
|
|
| extra | 操作区 | ReactNode | - |
|