element-plus/docs/en-US/component/result.md
jeremywu 8fdf558b04
fix(docs): adding title for components (#4025)
- Remove `type` field.
- Add `title` field
2021-10-25 15:21:08 +08:00

42 lines
895 B
Markdown

---
title: Result
lang: en-US
---
# Result
Used to give feedback on the result of user's operation or access exception.
## Basic usage
:::demo
result/basic-usage
:::
## Customized content
:::demo
result/customized-content
:::
### Result Attributes
| Attribute | Description | Type | Accepted Values | Default |
| --------- | ----------- | ------ | -------------------------------- | ------- |
| title | title | string | — | — |
| sub-title | sub title | string | — | — |
| icon | icon type | string | success / warning / info / error | info |
### Result Slots
| Name | Description |
| -------- | ----------------- |
| icon | custom icon |
| title | custom title |
| subTitle | custom sub title |
| extra | custom extra area |