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

Function PlanDescription

web/src/components/ai-elements/plan.tsx:91–107  ·  view source on GitHub ↗
({
  className,
  children,
  ...props
}: PlanDescriptionProps)

Source from the content-addressed store, hash-verified

89};
90
91export const PlanDescription = ({
92 className,
93 children,
94 ...props
95}: PlanDescriptionProps) => {
96 const { isStreaming } = usePlan();
97
98 return (
99 <CardDescription
100 className={cn("text-balance", className)}
101 data-slot="plan-description"
102 {...props}
103 >
104 {isStreaming ? <Shimmer>{children}</Shimmer> : children}
105 </CardDescription>
106 );
107};
108
109export type PlanActionProps = ComponentProps<typeof CardAction>;
110

Callers

nothing calls this directly

Calls 2

cnFunction · 0.90
usePlanFunction · 0.85

Tested by

no test coverage detected