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

Function LocatorButton

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

Source from the content-addressed store, hash-verified

358}
359
360const LocatorButton: s.Component = () => {
361 const {locator} = useAppCtx()
362 return (
363 <ui.ToggleButton
364 class="shrink-0 w-7 h-7"
365 onInteract={locator.setLocatorState}
366 selected={locator.locatorEnabled()}
367 title="Select an element in the page to inspect it"
368 >
369 <ui.icon.Select class="w-4 h-4" />
370 </ui.ToggleButton>
371 )
372}
373
374const Search: s.Component = () => {
375 const ctx = useAppCtx()

Callers

nothing calls this directly

Calls 1

useAppCtxFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…