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

Function CommitHash

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

Source from the content-addressed store, hash-verified

53export type CommitHashProps = HTMLAttributes<HTMLSpanElement>;
54
55export const CommitHash = ({
56 className,
57 children,
58 ...props
59}: CommitHashProps) => (
60 <span className={cn("font-mono text-xs", className)} {...props}>
61 <GitCommitIcon className="mr-1 inline-block size-3" />
62 {children}
63 </span>
64);
65
66export type CommitMessageProps = HTMLAttributes<HTMLSpanElement>;
67

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected