Skip to main content

Sortable Tree

A thin wrapper around react-sortable-tree that supports all properties of said component.

Options

  • treeData | array<object> (required): array of objects with title (primary label for the node), subtitle (secondary label), expanded (display the children of the node if set to true), and/or children (array of child nodes belonging to the respective node). Default: none.
  • title | (string|node): header title. Default: none.

Examples

Live Editor
Result
ReferenceError: Provider is not defined