Function
Plan
({
className,
isStreaming = false,
children,
...props
}: PlanProps)
Source from the content-addressed store, hash-verified
| 42 | }; |
| 43 | |
| 44 | export const Plan = ({ |
| 45 | className, |
| 46 | isStreaming = false, |
| 47 | children, |
| 48 | ...props |
| 49 | }: PlanProps) => ( |
| 50 | <PlanContext.Provider value={{ isStreaming }}> |
| 51 | <Collapsible asChild data-slot="plan" {...props}> |
| 52 | <Card className={cn("shadow-none", className)}>{children}</Card> |
| 53 | </Collapsible> |
| 54 | </PlanContext.Provider> |
| 55 | ); |
| 56 | |
| 57 | export type PlanHeaderProps = ComponentProps<typeof CardHeader>; |
| 58 | |
Callers
nothing calls this directly
Tested by
no test coverage detected