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

Function Sources

web/src/components/ai-elements/sources.tsx:15–20  ·  view source on GitHub ↗
({ className, ...props }: SourcesProps)

Source from the content-addressed store, hash-verified

13export type SourcesProps = ComponentProps<"div">;
14
15export const Sources = ({ className, ...props }: SourcesProps) => (
16 <Collapsible
17 className={cn("not-prose mb-4 text-primary text-xs", className)}
18 {...props}
19 />
20);
21
22export type SourcesTriggerProps = ComponentProps<typeof CollapsibleTrigger> & {
23 count: number;

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected