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

Function CommitFileInfo

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

Source from the content-addressed store, hash-verified

303export type CommitFileInfoProps = HTMLAttributes<HTMLDivElement>;
304
305export const CommitFileInfo = ({
306 className,
307 children,
308 ...props
309}: CommitFileInfoProps) => (
310 <div className={cn("flex min-w-0 items-center gap-2", className)} {...props}>
311 {children}
312 </div>
313);
314
315const fileStatusStyles = {
316 added: "text-green-600 dark:text-green-400",

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected