13 lines
288 B
TypeScript
13 lines
288 B
TypeScript
import { Inbox } from "lucide-react";
|
|
|
|
export function EmptyState({ title, body }: { title: string; body?: string }) {
|
|
return (
|
|
<div className="empty-state">
|
|
<Inbox size={22} aria-hidden />
|
|
<strong>{title}</strong>
|
|
{body ? <p>{body}</p> : null}
|
|
</div>
|
|
);
|
|
}
|
|
|