({treeProps = {}, rowProps = {}})
| 83 | }; |
| 84 | |
| 85 | let StaticTree = ({treeProps = {}, rowProps = {}}) => ( |
| 86 | <Tree |
| 87 | defaultExpandedKeys={new Set(['projects', 'projects-1'])} |
| 88 | disabledBehavior="selection" |
| 89 | aria-label="test tree" |
| 90 | onExpandedChange={onExpandedChange} |
| 91 | onSelectionChange={onSelectionChange} |
| 92 | {...treeProps}> |
| 93 | <StaticTreeItem id="Photos" textValue="Photos" {...rowProps}> |
| 94 | Photos |
| 95 | </StaticTreeItem> |
| 96 | <StaticTreeItem id="projects" textValue="Projects" title="Projects" {...rowProps}> |
| 97 | <StaticTreeItem id="projects-1" textValue="Projects-1" title="Projects-1" {...rowProps}> |
| 98 | <StaticTreeItem id="projects-1A" textValue="Projects-1A" {...rowProps}> |
| 99 | Projects-1A |
| 100 | </StaticTreeItem> |
| 101 | </StaticTreeItem> |
| 102 | <StaticTreeItem id="projects-2" textValue="Projects-2" {...rowProps}> |
| 103 | Projects-2 |
| 104 | </StaticTreeItem> |
| 105 | <StaticTreeItem id="projects-3" textValue="Projects-3" {...rowProps}> |
| 106 | Projects-3 |
| 107 | </StaticTreeItem> |
| 108 | </StaticTreeItem> |
| 109 | </Tree> |
| 110 | ); |
| 111 | |
| 112 | let StaticSectionTree = ({treeProps = {}, rowProps = {}}) => ( |
| 113 | <Tree |
nothing calls this directly
no outgoing calls
no test coverage detected