Function
Commit
({ className, children, ...props }: CommitProps)
Source from the content-addressed store, hash-verified
| 23 | export type CommitProps = ComponentProps<typeof Collapsible>; |
| 24 | |
| 25 | export const Commit = ({ className, children, ...props }: CommitProps) => ( |
| 26 | <Collapsible |
| 27 | className={cn("rounded-lg border bg-background", className)} |
| 28 | {...props} |
| 29 | > |
| 30 | {children} |
| 31 | </Collapsible> |
| 32 | ); |
| 33 | |
| 34 | export type CommitHeaderProps = ComponentProps<typeof CollapsibleTrigger>; |
| 35 | |
Callers
nothing calls this directly
Tested by
no test coverage detected