EmptyState
feedback
EmptyState component
Terminal
$termuijs render empty-state
Installation
$ bunx termuijs add empty-state
Copies the source into src/components/empty-state/ and installs @termuijs/core, @termuijs/widgets.
Usage
ts
import { EmptyState } from '@termuijs/widgets'ts
new EmptyState(title: string, style: Partial<Style> = {}, opts: EmptyStateOptions = {})API Reference
EmptyState
| Prop | Type | Required | Description |
|---|---|---|---|
title | string | required | — |
icon | string | optional | — |
description | string | optional | — |
hint | string | optional | — |