import { View, Text, StyleSheet } from "react-native"; import { Ionicons } from "@expo/vector-icons"; import { Colors, Typography, Spacing } from "@/constants/theme"; interface EmptyStateProps { title: string; subtitle?: string; icon?: keyof typeof Ionicons.glyphMap; } export function EmptyState({ title, subtitle, icon = "leaf-outline", }: EmptyStateProps) { return ( {title} {subtitle && {subtitle}} ); } const styles = StyleSheet.create({ container: { alignItems: "center", paddingVertical: 32, gap: Spacing.inlineGapSm, }, title: { ...Typography.bodyLg, color: Colors.light.text, textAlign: "center", }, subtitle: { ...Typography.bodyMd, color: Colors.light.textSecondary, textAlign: "center", }, });