import type { ReactNode } from 'react'; type ListPanelProps = { children: ReactNode; className?: string; /** * Default `hidden` clips children to rounded corners. Use `visible` when a child * (e.g. course picker dropdown) must extend past the panel edge. */ overflow?: 'hidden' | 'visible'; }; /** * Single white “SaaS” panel wrapping toolbar, filters, and table (Sikshya-style). */ export function ListPanel({ children, className = '', overflow = 'hidden' }: ListPanelProps) { const ov = overflow === 'visible' ? 'overflow-visible' : 'overflow-hidden'; return (
{children}
); }