import { View, Text, Pressable } from 'react-native'; import { colors } from '../../lib/theme'; type Props = { postsCount: number; followersCount: number; approvedDomainsCount: number; onPostsPress?: () => void; onFollowersPress?: () => void; onApprovedDomainsPress?: () => void; }; type CardProps = { value: string; label: string; onPress?: () => void; }; function StatPill({ value, label, onPress }: CardProps) { return ( ({ opacity: pressed ? 0.6 : 1 })} > {value} {label} ); } export function StatsBar({ postsCount, followersCount, approvedDomainsCount, onPostsPress, onFollowersPress, onApprovedDomainsPress, }: Props) { return ( ); }