({ children }: { children: React.ReactNode })
| 3 | import { SearchBar } from "./SearchBar"; |
| 4 | |
| 5 | export 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected