MCPcopy Create free account
hub / github.com/TanStack/devtools / MainPanel

Function MainPanel

packages/devtools-ui/src/components/main-panel.tsx:11–30  ·  view source on GitHub ↗
({
  className,
  children,
  class: classStyles,
  withPadding,
}: PanelProps)

Source from the content-addressed store, hash-verified

9}
10
11export const MainPanel = (props: PanelProps) => {
12 const styles = createStyles()
13
14 return (
15 <div
16 data-tsd-surface
17 class={clsx(
18 styles().mainPanel.panel(Boolean(props.withPadding)),
19 props.className,
20 props.class,
21 )}
22 >
23 {props.children}
24 </div>
25 )
26}

Callers

nothing calls this directly

Calls 2

createStylesFunction · 0.90
panelMethod · 0.80

Tested by

no test coverage detected