import { Loader2, TriangleAlert } from "lucide-react";
export function LoadingState({ label = "Loading" }: { label?: string }) {
return (
);
}
export function EmptyState({ title, description }: { title: string; description?: string }) {
return (
{title}
{description &&
{description}
}
);
}
export function ErrorState({ title = "Something went wrong", message }: { title?: string; message?: string }) {
return (
{title}
{message &&
{message}
}
);
}