Result
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.
Examples
Result API#
| Property | Description | Type | Default Value |
|---|---|---|---|
| Title | ParameterTitle | String | -- |
| TitleTemplate | ParameterTitle. Takes priority over Title. | RenderFragment | -- |
| SubTitle | ParameterSub Title | String | -- |
| SubTitleTemplate | ParameterSub Title. Takes priority over SubTitle. | RenderFragment | -- |
| Extra | ParameterExtra content displayed under all other content | RenderFragment | -- |
| Status | ParameterType of result. Influences styles and default image/icon. Possible values: success, error, info, warning, 404, 403, 500 | ResultStatus | ResultStatus.Info |
| Icon | ParameterCustom icon. Format: "{type}-{theme}" | String | -- |
| IsShowIcon | ParameterShow icon or not | Boolean | true |
| ChildContent | ParameterChild content. Displayed between title/subtitle and extra. | RenderFragment | -- |
| Id | ParameterID for the component's HTML | String | Uniquely Generated ID |
| Class | ParameterSpecifies one or more class names for an DOM element. | String | -- |
| Style | ParameterSpecifies an inline style for a DOM element. | String | -- |
| RefBack | ParameterA ForwardRef instance. You can get a reference to the internal DOM by using AntDesign.ForwardRef.Current. |
ForwardRef | -- |