Importimport { Result } from "antd"; |
Docs |
contributors
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 | Margin<string | number> | undefined | 24px 0 0 0 |
| iconFontSize | Icon size | number | 72 |
| subtitleFontSize | Subtitle font size | number | 14 |
| titleFontSize | Title font size | number | 24 |