Function
PlanDescription
({
className,
children,
...props
}: PlanDescriptionProps)
Source from the content-addressed store, hash-verified
| 89 | }; |
| 90 | |
| 91 | export 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 | |
| 109 | export type PlanActionProps = ComponentProps<typeof CardAction>; |
| 110 | |
Callers
nothing calls this directly
Tested by
no test coverage detected