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

Function CommitAuthorAvatar

web/src/components/ai-elements/commit.tsx:136–144  ·  view source on GitHub ↗
({
  initials,
  className,
  ...props
}: CommitAuthorAvatarProps)

Source from the content-addressed store, hash-verified

134};
135
136export const CommitAuthorAvatar = ({
137 initials,
138 className,
139 ...props
140}: CommitAuthorAvatarProps) => (
141 <Avatar className={cn("size-8", className)} {...props}>
142 <AvatarFallback className="text-xs">{initials}</AvatarFallback>
143 </Avatar>
144);
145
146export type CommitTimestampProps = HTMLAttributes<HTMLTimeElement> & {
147 date: Date;

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected