SPB Git

spb/autoscholar

Public
334 B · 11 lines tsx
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
Files · 87b4e55c3b9fbcc2cd191a1e469b33de0a24ccc8
Menu

Theme