MCPcopy Create free account
hub / github.com/vercel/examples / ToolHeader

Function ToolHeader

apps/vibe-coding-platform/components/chat/tool-header.tsx:4–15  ·  view source on GitHub ↗
(props: { className?: string; children: ReactNode })

Source from the content-addressed store, hash-verified

2import { cn } from '@/lib/utils'
3
4export function ToolHeader(props: { className?: string; children: ReactNode }) {
5 return (
6 <div
7 className={cn(
8 'flex items-center gap-1 text-muted-foreground mb-1 font-semibold',
9 props.className
10 )}
11 >
12 {props.children}
13 </div>
14 )
15}

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected