mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 13:47:02 +08:00
4972383c3c
* New Components Result antd 又变大了一点 * fix review warning remove classname "view" The class name of status hits the outermost layer * rm fragment * fix build error * update snapshot * add PRESENTED_SVG_DEFAULT * fix doc * fix lint * fix compile error * fix review warning * fix react15 error * add new demo * remove not required code * updated snapshot * api some empty * change svg to image
24 lines
682 B
Markdown
24 lines
682 B
Markdown
---
|
|
type: 反馈
|
|
category: Components
|
|
title: Result
|
|
cols: 1
|
|
subtitle: 结果
|
|
---
|
|
|
|
用于反馈一系列操作任务的处理结果。
|
|
|
|
## 何时使用
|
|
|
|
当有重要操作需告知用户处理结果,且反馈内容较为复杂时使用。
|
|
|
|
## API
|
|
|
|
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
|
| --- | --- | --- | --- | --- |
|
|
| title | title 文字 | ReactNode | - | 3.20.0 |
|
|
| subTitle | subTitle 文字 | ReactNode | - | 3.20.0 |
|
|
| status | 结果的状态,决定图标和颜色 | `'success' | 'error' | 'info' | 'warning'| '404' | '403' | '500'` | 'info' | 3.20.0 |
|
|
| icon | 自定义 icon | string \| ReactNode | - | 3.20.0 |
|
|
| extra | 操作区 | ReactNode | - | 3.20.0 |
|