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

Function SourcesContent

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

Source from the content-addressed store, hash-verified

45export type SourcesContentProps = ComponentProps<typeof CollapsibleContent>;
46
47export const SourcesContent = ({
48 className,
49 ...props
50}: SourcesContentProps) => (
51 <CollapsibleContent
52 className={cn(
53 "mt-3 flex w-fit flex-col gap-2",
54 "data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-top-2 data-[state=open]:slide-in-from-top-2 outline-none data-[state=closed]:animate-out data-[state=open]:animate-in",
55 className
56 )}
57 {...props}
58 />
59);
60
61export type SourceProps = ComponentProps<"a">;
62

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected