import React from 'react'; import { View, Text, TouchableOpacity } from 'react-native'; import { useTheme } from '../../theme'; import { getStyles } from './statCard.styles'; import { StatCardProps } from './statCard.props'; export const StatCard: React.FC = ({ label, count, color, isSelected = false, onPress, }) => { const { theme: colors } = useTheme(); const styles = getStyles(colors); const themeColor = color || colors.icon; const borderColor = isSelected ? themeColor : colors.border; return ( {/* Top Status Pill Tag */} {label} {/* Large Metric Count */} {count} ); };