blessed-components - v1.20.0
    Preparing search index...

    Interface EmptyStateData

    Stateful data accepted by the Blessed emptyState adapter.

    interface EmptyStateData {
        capabilities?: Pick<TerminalCapabilities, "colorLevel">;
        backgroundTone?: keyof ThemeColors;
        borderTone?: keyof ThemeColors;
        theme?: Theme;
        tone?: keyof ThemeColors;
        action?: string;
        align?: EmptyStateAlign;
        description?: string;
        height?: number;
        marker?: string;
        showMarker?: boolean;
        title: string;
        width?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    capabilities?: Pick<TerminalCapabilities, "colorLevel">

    Explicit color capability used for deterministic rendering.

    backgroundTone?: keyof ThemeColors

    Semantic background token.

    'background'

    borderTone?: keyof ThemeColors

    Semantic border token.

    'border'

    theme?: Theme

    Semantic terminal theme.

    tone?: keyof ThemeColors

    Semantic foreground token.

    'muted'

    action?: string

    Optional action hint rendered after the description.

    Empty sanitized actions are omitted.

    Horizontal alignment applied when width is configured.

    'center'

    description?: string

    Optional detail text rendered under the title.

    Empty sanitized descriptions are omitted.

    height?: number

    Maximum rendered line count.

    marker?: string

    Optional marker rendered before the title.

    '○'

    showMarker?: boolean

    Whether the marker is rendered.

    true

    title: string

    Non-empty primary empty-state message.

    width?: number

    Maximum rendered width measured in terminal cells.