import { Button, Card, CardAction, CardContent, CardHeader, CardTitle, } from "@repo/shadcn-ui/components"; import { XIcon } from "lucide-react"; import type { RightPanelProps } from "./right-panel-types.ts"; export const RightPanel = ({ open, title, className, headerActions, children, onOpenChange, }: RightPanelProps) => { if (!open) return null; return ( {title} {headerActions} {onOpenChange ? ( ) : null} {children} ); };