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

Function Section

packages/devtools-ui/src/components/section.tsx:5–15  ·  view source on GitHub ↗
({
  children,
  ...rest
}: JSX.IntrinsicElements['section'])

Source from the content-addressed store, hash-verified

3import { createStyles } from '../styles/use-styles'
4import type { JSX } from '@solidjs/web'
5
6export const Section = (props: JSX.IntrinsicElements['section']) => {
7 const styles = createStyles()
8 const rest = omit(props, 'children', 'class')
9 return (
10 <section
11 data-tsd-surface
12 class={clsx(styles().section.main, props.class)}
13 {...rest}
14 >
15 {props.children}
16 </section>
17 )
18}

Callers

nothing calls this directly

Calls 1

createStylesFunction · 0.90

Tested by

no test coverage detected