FragiolaTree
Data and state

Controlled state

The app's React state drives the expansion and the selection: buttons outside the tree change them, and the tree reports every change back.

  • selection()
  • expandedItemIds
  • onExpandedItemIdsChange
  • selectedItemIds
  • onSelectedItemIdsChange
Read the guide
Theme
Framework