"use client"; import { Panel, PanelSection } from "@prototype/components/platform-ui/panel"; import { PrototypeComponent } from "@prototype/components/prototypes/prototype-target"; import type { DesignExplorationRationale } from "@prototype/lib/prototypes/design-exploration-types"; import { cn } from "@prototype/lib/utils"; type PrototypeVariantRationalePanelProps = { componentId: string; rationale: DesignExplorationRationale; expanded: boolean; onExpandedChange: (expanded: boolean) => void; layout?: "default" | "sidebar"; bodyClassName?: string; }; export function PrototypeVariantRationalePanel({ componentId, rationale, expanded, onExpandedChange, layout = "default", bodyClassName, }: PrototypeVariantRationalePanelProps) { const isSidebar = layout === "sidebar"; return (

{rationale.good} {rationale.bad}

); }