MCPcopy Create free account
hub / github.com/triggerdotdev/jsonhero-web / JsonView

Function JsonView

app/components/JsonView.tsx:5–21  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

3import { SearchBar } from "./SearchBar";
4
5export function JsonView({ children }: { children: React.ReactNode }) {
6 return (
7 <div className="path-bar-and-column-wrapper flex flex-col flex-grow overflow-x-hidden border-l-[1px] border-slate-300 transition dark:border-slate-600">
8 <div className="flex justify-between p-1 bg-slate-200 border-slate-300 border-b-[1px] transition dark:bg-slate-900 dark:border-slate-600">
9 <div className="flex-shrink-0 flex-grow-0">
10 <PathHistoryControls />
11 </div>
12 <div className="flex-1 pr-2 min-w-0">
13 <PathBar />
14 </div>
15 <SearchBar />
16 </div>
17
18 {children}
19 </div>
20 );
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected