MCPcopy Create free account
hub / github.com/MagicCube/agentara / CodeBlockHeader

Function CodeBlockHeader

web/src/components/ai-elements/code-block.tsx:330–344  ·  view source on GitHub ↗
({
  children,
  className,
  ...props
}: HTMLAttributes<HTMLDivElement>)

Source from the content-addressed store, hash-verified

328);
329
330export const CodeBlockHeader = ({
331 children,
332 className,
333 ...props
334}: HTMLAttributes<HTMLDivElement>) => (
335 <div
336 className={cn(
337 "flex items-center justify-between border-b bg-muted/80 px-3 py-2 text-muted-foreground text-xs",
338 className
339 )}
340 {...props}
341 >
342 {children}
343 </div>
344);
345
346export const CodeBlockTitle = ({
347 children,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected