import { View, Text, TouchableOpacity } from 'react-native';
import { useColors } 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) {
const colors = useColors();
return (
{value}
{label}
);
}
export function StatsBar({
postsCount,
followersCount,
approvedDomainsCount,
onPostsPress,
onFollowersPress,
onApprovedDomainsPress,
}: Props) {
return (
);
}