import { Show, type JSX, type ParentProps } from "solid-js"; import { cn } from "@/lib/cn"; /** * The card every list page sits in: title, description and header actions, * then the page's toolbar and content. It matches the header DataTable draws, * so card-grid pages (classes, courses, boards…) read the same as table pages. */ export function DataSection( props: ParentProps<{ title?: string; description?: string; actions?: JSX.Element; class?: string }>, ) { return (

{props.title}

{props.description}

{props.actions}
{props.children}
); }