Component docs
Loading
import { EmptyState } from "@pixxl-tools/components";
// In Server Components:
import { EmptyState } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
title | ReactNode | — | Title (any content). |
actions | ReactNode | — | Action slot (buttons or links). |
description | ReactNode | — | Supporting text. |
titleReactNode
Title (any content).
actionsReactNode
Action slot (buttons or links).
descriptionReactNode
Supporting text.
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<EmptyState title="No files" />