MCPcopy Index your code
hub / github.com/tinyplex/tinybase / Panel

Function Panel

src/ui-react-inspector/Panel.tsx:8–19  ·  view source on GitHub ↗
({s}: StoreProp)

Source from the content-addressed store, hash-verified

6import {Header} from './Header.tsx';
7
8export const Panel = ({s}: StoreProp) => {
9 const position = useValue(POSITION_VALUE, s) ?? 1;
10
11 return useValue(OPEN_VALUE, s) ? (
12 <main data-position={position}>
13 <Header s={s} />
14 <ErrorBoundary>
15 <Body s={s} />
16 </ErrorBoundary>
17 </main>
18 ) : null;
19};

Callers

nothing calls this directly

Calls 1

useValueFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…