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

Function Commit

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

Source from the content-addressed store, hash-verified

23export type CommitProps = ComponentProps<typeof Collapsible>;
24
25export 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
34export type CommitHeaderProps = ComponentProps<typeof CollapsibleTrigger>;
35

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected