()
| 333 | } |
| 334 | |
| 335 | export function StructureView(): s.JSXElement { |
| 336 | const structure = createStructure() |
| 337 | |
| 338 | return ( |
| 339 | <StructureContext.Provider value={structure}> |
| 340 | <div |
| 341 | class="relative h-full w-full overflow-hidden grid" |
| 342 | style={{ |
| 343 | 'grid-template-rows': `${theme.spacing.header_height} 1fr ${path_height}`, |
| 344 | 'grid-template-columns': '100%', |
| 345 | }} |
| 346 | > |
| 347 | <div class="relative flex items-stretch"> |
| 348 | <div class={panel_header_el_border} /> |
| 349 | <LocatorButton /> |
| 350 | <Search /> |
| 351 | <ToggleMode /> |
| 352 | </div> |
| 353 | <DisplayStructureTree /> |
| 354 | <OwnerPath /> |
| 355 | </div> |
| 356 | </StructureContext.Provider> |
| 357 | ) |
| 358 | } |
| 359 | |
| 360 | const LocatorButton: s.Component = () => { |
| 361 | const {locator} = useAppCtx() |
nothing calls this directly
no test coverage detected
searching dependent graphs…