test / src /components /empty_state.tsx
aiioe's picture
Automated build & deploy
e454383 verified
Raw History Blame Contribute Delete
470 Bytes
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;