ant-design/components/result/index.en-US.md
陈帅 4972383c3c
feat: New Components Result (#17244)
* 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
2019-06-30 20:15:44 +08:00

24 lines
726 B
Markdown

---
type: Feedback
category: Components
title: Result
cols: 1
subtitle:
---
Used to feed back the results of a series of operational tasks.
## When To Use
Use when important operations need to inform the user to process the results and the feedback is more complicated.
## API
| Property | Description | Type | Default | Version |
| --- | --- | --- | --- | --- |
| title | title string | ReactNode | - | 3.20.0 |
| subTitle | subTitle string | ReactNode | - | 3.20.0 |
| status | result status,decide icons and colors | `'success' | 'error' | 'info' | 'warning'| '404' | '403' | '500'` | 'info' | 3.20.0 |
| icon | custom back icon | string \| ReactNode | - | 3.20.0 |
| extra | operating area | ReactNode | - | 3.20.0 |