Function
CommitHash
({
className,
children,
...props
}: CommitHashProps)
Source from the content-addressed store, hash-verified
| 53 | export type CommitHashProps = HTMLAttributes<HTMLSpanElement>; |
| 54 | |
| 55 | export 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 | |
| 66 | export type CommitMessageProps = HTMLAttributes<HTMLSpanElement>; |
| 67 | |
Callers
nothing calls this directly
Tested by
no test coverage detected