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

    Interface DividerData

    Stateful data accepted by the Blessed divider adapter.

    interface DividerData {
        backgroundTone?: keyof ThemeColors;
        borderTone?: keyof ThemeColors;
        theme?: Theme;
        capabilities?: Pick<TerminalCapabilities, "unicode" | "colorLevel">;
        length?: number;
        tone?: keyof ThemeColors;
        characters?: DividerCharacters;
        label?: string;
        labelAlign?: DividerLabelAlign;
        orientation?: DividerOrientation;
    }

    Hierarchy

    Index

    Properties

    backgroundTone?: keyof ThemeColors

    Semantic background token.

    'background'

    borderTone?: keyof ThemeColors

    Semantic border token.

    'border'

    theme?: Theme

    Semantic terminal theme.

    capabilities?: Pick<TerminalCapabilities, "unicode" | "colorLevel">

    Explicit terminal capabilities used for deterministic rendering.

    length?: number

    Explicit length; otherwise derived from the element's inner size.

    tone?: keyof ThemeColors

    Semantic foreground token.

    'border'

    characters?: DividerCharacters

    Drawing characters.

    { horizontal: '─', vertical: '│' }

    label?: string

    Optional label embedded in a horizontal Divider.

    labelAlign?: DividerLabelAlign

    Horizontal label placement.

    'center'

    orientation?: DividerOrientation

    Divider direction.

    'horizontal'