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

    Interface RenderRouteTabsOptions<TItem>

    Options accepted by renderRouteTabs.

    interface RenderRouteTabsOptions<TItem extends RouteTabItem = RouteTabItem> {
        characters?: RouteTabsCharacters;
        emptyText?: string;
        focusedId?: string;
        items: readonly TItem[];
        routeId?: string;
        separator?: string;
        width?: number;
    }

    Type Parameters

    Index

    Properties

    characters?: RouteTabsCharacters

    Character tokens for interaction and route state.

    emptyText?: string

    Text displayed when no routes are open.

    focusedId?: string

    Route identifier carrying keyboard focus.

    items: readonly TItem[]

    Ordered open routes. Caller-owned data is never mutated.

    routeId?: string

    Currently selected route identifier.

    separator?: string

    Text inserted between route tabs.

    width?: number

    Maximum terminal-cell width of the rendered row.