Empty
Empty state placeholder.
When to use
- When there is no data provided, display for friendly tips.
- User tutorial to create something in fresh new situation.
Examples
API
Empty are exported from @ceebee/ui/client.
Empty
| 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> | - | — |
description | Customize description | ReactNode | - | — |
image | Customize image. Will treat as image url when string provided | ReactNode | Empty.PRESENTED_IMAGE_DEFAULT | — |
imageStyle | The style of image, please use styles.image instead | CSSProperties | - | — |
styles | Customize inline style for each semantic structure inside the component. Supports object or function. | Record<SemanticDOM, CSSProperties> | (info: { props })=> Record<SemanticDOM, CSSProperties> | - | — |