File size: 470 Bytes
e454383 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import { Bot, LucideIcon } from "lucide-react";
import { FC } from "react";
interface EmptyStateProps {
message: string;
icon?: LucideIcon;
}
const EmptyState: FC<EmptyStateProps> = ({ message, icon: Icon = Bot }) => (
<div className="flex flex-col flex-1 items-center justify-center h-full text-center">
<Icon className="h-12 w-12 text-muted-foreground mb-4" />
<p className="text-muted-foreground">{message}</p>
</div>
);
export default EmptyState;
|