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

    Interface RenderRadioGroupOptions<TItem>

    Options accepted by renderRadioGroup.

    interface RenderRadioGroupOptions<TItem extends RadioGroupItem = RadioGroupItem> {
        activeId?: string;
        characters?: RadioGroupCharacters;
        emptyText?: string;
        height: number;
        items: readonly TItem[];
        offset?: number;
        value?: string;
        width: number;
    }

    Type Parameters

    Index

    Properties

    activeId?: string

    Identifier receiving the visible focus marker.

    Character tokens used by the renderer.

    emptyText?: string

    Text returned when items is empty.

    'No options'

    height: number

    Maximum number of rendered rows.

    items: readonly TItem[]

    Ordered radio options. Caller-owned data is never mutated.

    offset?: number

    First rendered option index.

    0

    value?: string

    Selected option identifier.

    width: number

    Maximum terminal-cell width of each row.