spb/autoscholar
Public
1import type { ReactNode } from "react";23export function EmptyState({ title, children }: { title: string; children?: ReactNode }) {4 return (5 <div className="surface px-6 py-12 text-center">6 <p className="serif text-lg">{title}</p>7 {children && <div className="muted mt-2 text-sm">{children}</div>}8 </div>9 );10}11