Representation of the tree view properties.

interface ViewProps {
    height: number;
    renderNodeRow: ((row) => ReactNode);
    rows: NodeRow[];
    scrollToRow?: number;
    width: number;
}

Properties

height: number

The height property.

renderNodeRow: ((row) => ReactNode)

Type declaration

    • (row): ReactNode
    • Parameters

      Returns ReactNode

rows: NodeRow[]

The list of node rows.

scrollToRow?: number

The scroll to row value.

width: number

The width property.