Function
SourcesContent
({
className,
...props
}: SourcesContentProps)
Source from the content-addressed store, hash-verified
| 45 | export type SourcesContentProps = ComponentProps<typeof CollapsibleContent>; |
| 46 | |
| 47 | export 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 | |
| 61 | export type SourceProps = ComponentProps<"a">; |
| 62 | |
Callers
nothing calls this directly
Tested by
no test coverage detected