import { View, Text } from "react-native"; import { useTheme } from "../theme"; interface RatingProps { value: number; count?: number; size?: number; } export function Rating({ value, count, size = 16 }: RatingProps) { const theme = useTheme(); return ( {value.toFixed(1)} {count !== undefined && ( ({count}) )} ); }