MCPcopy Create free account
hub / github.com/AntiHub-Project/AntiHub / TaskContent

Function TaskContent

components/ai-elements/task.tsx:71–87  ·  view source on GitHub ↗
({
  children,
  className,
  ...props
}: TaskContentProps)

Source from the content-addressed store, hash-verified

69export type TaskContentProps = ComponentProps<typeof CollapsibleContent>;
70
71export const TaskContent = ({
72 children,
73 className,
74 ...props
75}: TaskContentProps) => (
76 <CollapsibleContent
77 className={cn(
78 "data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-top-2 data-[state=open]:slide-in-from-top-2 text-popover-foreground outline-none data-[state=closed]:animate-out data-[state=open]:animate-in",
79 className
80 )}
81 {...props}
82 >
83 <div className="mt-4 space-y-2 border-muted border-l-2 pl-4">
84 {children}
85 </div>
86 </CollapsibleContent>
87);

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected