cel-tui
    Preparing search index...

    Interface TextNode

    A text leaf node in the UI tree.

    Created by the Text function. Has no children — the parent container controls the box, and height is intrinsic (computed from content and wrapping).

    interface TextNode {
        content: string;
        props: TextProps;
        type: "text";
    }
    Index

    Properties

    Properties

    content: string

    The text content to display.

    props: TextProps

    Text styling and behavior props.

    type: "text"