Skip to content

Commit 50a4d9c

Browse files
amancegcbkrem
authored andcommitted
Adds useCollapseData prop
This commit adds a new prop allowing a user to manually specify the collapse status of the entire tree on initial load, by setting the _collapse property in their dataset. If useCollapseData is set to false, tree behavior is unchanged. If set to true, the component uses the collapse property set in the data prop. (#114) Adds docs & unit test for useCollapseData
1 parent 74d5afc commit 50a4d9c

File tree

3 files changed

+111
-35
lines changed

3 files changed

+111
-35
lines changed

0 commit comments

Comments
 (0)