Function
TaskContent
({
children,
className,
...props
}: TaskContentProps)
Source from the content-addressed store, hash-verified
| 69 | export type TaskContentProps = ComponentProps<typeof CollapsibleContent>; |
| 70 | |
| 71 | export 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
Tested by
no test coverage detected