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

Function Header

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

Source from the content-addressed store, hash-verified

3import { createStyles } from '../styles/use-styles'
4import type { JSX } from '@solidjs/web'
5
6export function Header(props: JSX.IntrinsicElements['header']) {
7 const styles = createStyles()
8 const rest = omit(props, 'children', 'class')
9 return (
10 <header
11 data-tsd-surface
12 data-tsd-separator
13 class={clsx(styles().header.row, 'tsqd-header', props.class)}
14 {...rest}
15 >
16 {props.children}
17 </header>
18 )
19}
20
21export function HeaderLogo(props: {
22 children: JSX.Element

Callers

nothing calls this directly

Calls 1

createStylesFunction · 0.90

Tested by

no test coverage detected