import React from 'react'; import { View, Text, TouchableOpacity } from 'react-native'; import Icon from 'react-native-vector-icons/Ionicons'; import { useTheme } from '@theme'; import { getStyles } from './actionCard.styles'; import { ActionCardProps } from './actionCard.props'; export const ActionCard: React.FC = ({ title, icon, count, onAddPress, onViewAllPress, }) => { const { theme: colors } = useTheme(); const styles = getStyles(colors); return ( {/* Header with Icon and Title */} {title} {count !== undefined && ( {count} {count === 1 ? 'item' : 'items'} )} {/* Action Buttons */} Add View All ); };