Result
Result
Used to feedback the processing results of a series of operations.
Importimport{ Result }from"antd"; |
Sourcecomponents/result |
Importimport{ Result }from"antd"; |
Sourcecomponents/result |
Use when important operations need to inform the user to process the results and the feedback is more complicated.
Common props ref:Common props
Property | Description | Type | Default |
---|---|---|---|
extra | Operating area | ReactNode | - |
icon | Custom back icon | ReactNode | - |
status | Result status, decide icons and colors | success | error | info | warning | 404 | 403 | 500 | info |
subTitle | The subTitle | ReactNode | - |
title | The title | ReactNode | - |
Token Name | Description | Type | Default Value |
---|---|---|---|
extraMargin | Margin of extra area | undefined | Margin<string | number> | 24px 0 0 0 |
iconFontSize | Icon size | number | 72 |
subtitleFontSize | Subtitle font size | number | 14 |
titleFontSize | Title font size | number | 24 |