EmptyState
Empty state placeholder.
Import
tsx
import { ZEmptyState } from "@zurto/ui";Usage
tsx
<ZEmptyState
icon={<InboxIcon />}
title="No messages"
description="You haven't received any messages yet."
action={<ZButton>Compose</ZButton>}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
icon | ReactNode | – | Icon element |
title | string | – | Title text |
description | string | – | Description |
action | ReactNode | – | Action button |