Function
CommitFile
({
className,
children,
...props
}: CommitFileProps)
Source from the content-addressed store, hash-verified
| 285 | export type CommitFileProps = HTMLAttributes<HTMLDivElement>; |
| 286 | |
| 287 | export 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 | |
| 303 | export type CommitFileInfoProps = HTMLAttributes<HTMLDivElement>; |
| 304 | |
Callers
nothing calls this directly
Tested by
no test coverage detected