mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 09:50:58 +08:00
458e301a52
* fix(components): [result] rename slot's name * docs(components): [result] update doc
42 lines
899 B
Markdown
42 lines
899 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 |
|
|
| sub-title | custom sub title |
|
|
| extra | custom extra area |
|