MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / StructureView

Function StructureView

packages/frontend/src/structure.tsx:335–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

333}
334
335export 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
360const LocatorButton: s.Component = () => {
361 const {locator} = useAppCtx()

Callers

nothing calls this directly

Calls 1

createStructureFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…