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

Function SectionIcon

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

Source from the content-addressed store, hash-verified

39 {props.children}
40 </p>
41 )
42}
43
44export const SectionIcon = (props: JSX.IntrinsicElements['span']) => {
45 const styles = createStyles()
46 const rest = omit(props, 'children', 'class')
47 return (
48 <span class={clsx(styles().section.icon, props.class)} {...rest}>
49 {props.children}
50 </span>
51 )
52}

Callers

nothing calls this directly

Calls 1

createStylesFunction · 0.90

Tested by

no test coverage detected