Data Display
EmptyState
client27.75 kB
@stellaria/nebula-webEmptyStatePropsPreview
Props
6| Prop | Type | Default |
|---|---|---|
actions | ReactNode | — |
className | string | — |
description | ReactNode | — |
icon | ReactNode | — |
size | "sm" | "md" | "lg" | "md" |
title required | ReactNode | — |
Slot props
4Each one spreads over an inner element, so you can restyle a region without forking the component.
| Prop | Type | Default |
|---|---|---|
actionsProps The action row. Only rendered with `actions`. | BoxSlotProps | — |
descriptionProps The description. Only rendered with `description`. | TextSlotProps | — |
iconProps The glyph. Only rendered with `icon`, and it is `aria-hidden`. | BoxSlotProps | — |
titleProps The title. The only node always rendered, because `title` is required. | TextSlotProps | — |
Also accepts
On top of its own props, this component forwards these groups.
Style props · 127