// components/ui/empty-state.tsx import * as React from 'react'; import { View } from 'react-native'; import { Text } from './text'; import { Button } from './button'; import { cn } from '@/lib/utils'; export interface EmptyStateProps { title: string; description?: string; illustration?: React.ReactNode; actionLabel?: string; onActionPress?: () => void; className?: string; } export function EmptyState({ title, description, illustration, actionLabel, onActionPress, className, }: EmptyStateProps) { return ( {illustration && ( {illustration} )} {title} {description && ( {description} )} {actionLabel && ( )} ); }