Files
role-user/src/components/empty-state.tsx
T
2026-06-02 14:46:39 +08:00

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>
);
}