import { Icon } from "./icon"; interface LoadingStateProps { message?: string; } export const LoadingState = ({ message = "Loading..." }: LoadingStateProps) => (

{message}

); interface ErrorStateProps { message?: string; onRetry?: () => void; } export const ErrorState = ({ message = "Failed to load", onRetry }: ErrorStateProps) => (

{message}

{onRetry && ( )}
); interface EmptyStateProps { message: string; } export const EmptyState = ({ message }: EmptyStateProps) => (

{message}

);