Result
Used to feedback the processing results of a series of operations.
When to use
Use when important operations need to inform the user to process the results and the feedback is more complicated.
Examples
API
Result are exported from @ceebee/ui/client.
Result
| Property | Description | Type | Default | Version |
|---|---|---|---|---|
classNames | Customize class for each semantic structure inside the component. Supports object or function | Record<SemanticDOM, string> | (info: { props }) => Record<SemanticDOM, string> | - | 6.0.0 |
extra | Operating area | ReactNode | - | — |
icon | Custom back icon | ReactNode | - | — |
status | Result status, decide icons and colors | success | error | info | warning | 404 | 403 | 500 | info | — |
styles | Customize inline style for each semantic structure inside the component. Supports object or function | Record<SemanticDOM, CSSProperties> | (info: { props }) => Record<SemanticDOM, CSSProperties> | - | 6.0.0 |
subTitle | The subTitle | ReactNode | - | — |
title | The title | ReactNode | - | — |