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

Function PlanTrigger

web/src/components/ai-elements/plan.tsx:131–144  ·  view source on GitHub ↗
({ className, ...props }: PlanTriggerProps)

Source from the content-addressed store, hash-verified

129export type PlanTriggerProps = ComponentProps<typeof CollapsibleTrigger>;
130
131export const PlanTrigger = ({ className, ...props }: PlanTriggerProps) => (
132 <CollapsibleTrigger asChild>
133 <Button
134 className={cn("size-8", className)}
135 data-slot="plan-trigger"
136 size="icon"
137 variant="ghost"
138 {...props}
139 >
140 <ChevronsUpDownIcon className="size-4" />
141 <span className="sr-only">Toggle plan</span>
142 </Button>
143 </CollapsibleTrigger>
144);

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected