mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
feat(tree-view): add expandedIds #750
This commit is contained in:
parent
51ebf185b5
commit
3a3227057d
7 changed files with 46 additions and 2 deletions
6
types/TreeView/TreeView.d.ts
vendored
6
types/TreeView/TreeView.d.ts
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue