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

Function Plan

web/src/components/ai-elements/plan.tsx:44–55  ·  view source on GitHub ↗
({
  className,
  isStreaming = false,
  children,
  ...props
}: PlanProps)

Source from the content-addressed store, hash-verified

42};
43
44export 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
57export type PlanHeaderProps = ComponentProps<typeof CardHeader>;
58

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected