Props

nodes

type: Array

required: true

description: An array of nodes to show. Available properties of a node object:

KeyTypeDescription
id (required)number | stringUsed to identify the node within the tree. Its value must be unique in a nodes array.
label (required)stringUsed to display the option.
nodesArrayArray of node objects.

indentSize

type: number

default: 10

description: Indent size in pixels of tree nodes.

gap

type: number

default: 10

description: Vertical space between tree nodes.

rowHoverBackground

type: string

default: #e0e0e0

description: The background style to apply on hover state.