feat(tree-view): add expandedIds #750

This commit is contained in:
Eric Y Liu 2021-07-15 06:36:10 -07:00
commit 3a3227057d
7 changed files with 46 additions and 2 deletions

View file

@ -32,6 +32,12 @@ export interface TreeViewProps
*/
selectedIds?: TreeNodeId[];
/**
* Set the node ids to be expanded
* @default []
*/
expandedIds?: TreeNodeId[];
/**
* Specify the TreeView size
* @default "default"