17 lines
337 B
TypeScript
17 lines
337 B
TypeScript
import { Inbox } from "lucide-react";
|
|
|
|
type EmptyStateProps = {
|
|
title: string;
|
|
description: string;
|
|
};
|
|
|
|
export function EmptyState({ title, description }: EmptyStateProps) {
|
|
return (
|
|
<section className="empty-state">
|
|
<Inbox aria-hidden size={28} />
|
|
<h2>{title}</h2>
|
|
<p>{description}</p>
|
|
</section>
|
|
);
|
|
}
|