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

Function CommitFile

web/src/components/ai-elements/commit.tsx:287–301  ·  view source on GitHub ↗
({
  className,
  children,
  ...props
}: CommitFileProps)

Source from the content-addressed store, hash-verified

285export type CommitFileProps = HTMLAttributes<HTMLDivElement>;
286
287export const CommitFile = ({
288 className,
289 children,
290 ...props
291}: CommitFileProps) => (
292 <div
293 className={cn(
294 "flex items-center justify-between gap-2 rounded px-2 py-1 text-sm hover:bg-muted/50",
295 className
296 )}
297 {...props}
298 >
299 {children}
300 </div>
301);
302
303export type CommitFileInfoProps = HTMLAttributes<HTMLDivElement>;
304

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected