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

Function CodeBlockActions

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

Source from the content-addressed store, hash-verified

364);
365
366export const CodeBlockActions = ({
367 children,
368 className,
369 ...props
370}: HTMLAttributes<HTMLDivElement>) => (
371 <div
372 className={cn("-my-1 -mr-1 flex items-center gap-2", className)}
373 {...props}
374 >
375 {children}
376 </div>
377);
378
379export const CodeBlockContent = ({
380 code,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected