Skip to content

v5.2.0

Latest

Choose a tag to compare

@TrevorBurnham TrevorBurnham released this 06 Dec 19:58
a0fa7a7

Features

  • A custom renderContainer can now be built from the public API (issue #52). It receives the tree as a tree prop and re-renders when the visible nodes change, and DefaultContainer, RowContainer, handleTreeKeyDown and useTreeApi are exported to build one with. The README documents what a custom container is responsible for. A container that spreads its props onto a DOM element should now drop tree before spreading, or React will render it as an attribute. (#411)