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

    Interface TreeNode

    Minimum data required for one Tree node.

    interface TreeNode {
        children?: readonly TreeNode[];
        disabled?: boolean;
        id: string;
        label: string;
    }
    Index

    Properties

    children?: readonly TreeNode[]

    Child nodes. Omitted or empty children make this a leaf node.

    disabled?: boolean

    Whether navigation and selection must skip this node.

    id: string

    Stable identifier used for expansion, cursor, and selection state.

    label: string

    Human-readable node content.