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

Function CodeBlockTitle

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

Source from the content-addressed store, hash-verified

344);
345
346export const CodeBlockTitle = ({
347 children,
348 className,
349 ...props
350}: HTMLAttributes<HTMLDivElement>) => (
351 <div className={cn("flex items-center gap-2", className)} {...props}>
352 {children}
353 </div>
354);
355
356export const CodeBlockFilename = ({
357 children,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected