import { Ionicons } from "@expo/vector-icons"; import { View } from "react-native"; import { Button } from "@/components/ui/Button"; import { Text } from "@/components/ui/Text"; import { colors } from "@/lib/theme"; export function EmptyState({ icon = "cube-outline", title, body, actionTitle, onAction, compact, }: { icon?: keyof typeof Ionicons.glyphMap; title: string; body?: string; actionTitle?: string; onAction?: () => void; compact?: boolean; }) { return ( {title} {body ? ( {body} ) : null} {actionTitle && onAction ? (