File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-aria-components/docs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ function FileTree(props: TreeProps<FileType>) {
460460 return (
461461 <Tree
462462 aria-label = " Files"
463- defaultExpandedKeys = { [' 1' , ' 4 ' ]}
463+ defaultExpandedKeys = { [' 1' ]}
464464 /* - begin highlight -*/
465465 items = { items }
466466 /* - end highlight -*/
@@ -515,7 +515,7 @@ Multiple selection can be enabled by setting `selectionMode` to `multiple`.
515515
516516``` tsx example
517517// Using the example above
518- <FileTree selectionMode = " multiple" defaultSelectedKeys = { [' 2' , ' 4' ]} defaultExpandedKeys = { [' 1' ]} />
518+ <FileTree selectionMode = " multiple" defaultSelectedKeys = { [' 2' , ' 4' ]} defaultExpandedKeys = { [' 1' , ' 2 ' ]} />
519519```
520520
521521### Disallow empty selection
You can’t perform that action at this time.
0 commit comments