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 = ({
12 className,
13 children,
14 class: classStyles,
15 withPadding,
16}: PanelProps) => {
17 const styles = createStyles()
18
19 return (
20 <div
21 data-tsd-surface
22 class={clsx(
23 styles().mainPanel.panel(Boolean(withPadding)),
24 className,
25 classStyles,
26 )}
27 >
28 {children}
29 </div>
30 )
31}

Callers

nothing calls this directly

Calls 2

createStylesFunction · 0.90
panelMethod · 0.80

Tested by

no test coverage detected