import { AlertTriangle, RefreshCcw } from "lucide-react"; import { Button } from "./button/button"; type ErrorStateProps = { message?: string; onRetry?: () => void; className?: string; }; export function ErrorState({ message, onRetry, className }: ErrorStateProps) { return (
Gagal memuat data.
{message}
{onRetry && ( )}