import { StyleSheet, Text, View } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import { Colors } from '@/lib/colors'; import { FontSize, FontWeight, ICON_CIRCLE, IconSize, LineHeight, Radius, Spacing, Tint } from '@/lib/theme'; import Button from './Button'; interface EmptyStateProps { icon?: keyof typeof Ionicons.glyphMap; title: string; message?: string; actionLabel?: string; onAction?: () => void; } /** État vide homogène : icône, titre, message et action optionnelle. */ export default function EmptyState({ icon = 'document-text-outline', title, message, actionLabel, onAction }: EmptyStateProps) { return ( {title} {message ? {message} : null} {actionLabel && onAction ? (