feat(tree-view): add expandedIds #750 (#751)

This commit is contained in:
Eric Liu 2021-07-15 07:49:25 -07:00 committed by GitHub
commit d01995e11e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"