import React from 'react'; import { View, Text, StyleSheet, Pressable } from 'react-native'; import Ionicons from '@react-native-vector-icons/ionicons'; import { useTheme, fontFamily } from '../../../theme'; interface AgentEmptyStateProps { title: string; description: string; icon?: string; actionTitle?: string; onAction?: () => void; } export const AgentEmptyState = ({ title, description, icon = 'document-text-outline', actionTitle, onAction, }: AgentEmptyStateProps) => { const theme = useTheme(); return ( {title} {description} {actionTitle && onAction && ( {actionTitle} )} ); }; const styles = StyleSheet.create({ container: { flex: 1, alignItems: 'center', justifyContent: 'center', padding: 32, minHeight: 300, }, iconContainer: { width: 100, height: 100, borderRadius: 50, alignItems: 'center', justifyContent: 'center', marginBottom: 24, }, title: { fontSize: 18, fontFamily: fontFamily.bold, marginBottom: 8, textAlign: 'center', }, description: { fontSize: 14, textAlign: 'center', lineHeight: 20, marginBottom: 24, }, button: { paddingHorizontal: 24, paddingVertical: 12, borderRadius: 8, }, buttonText: { fontSize: 14, fontFamily: fontFamily.semibold, }, });