import React, { ReactNode } from 'react'; import { Card } from './Card'; import { Box } from './primitives/Box'; import { Heading } from './Heading'; import { IconButton } from './IconButton'; import { X } from 'lucide-react'; export interface DebugPanelProps { title: string; children: ReactNode; onClose: () => void; icon?: ReactNode; } export const DebugPanel = ({ title, children, onClose, icon }: DebugPanelProps) => { return ( {icon} {title} {children} ); };