import { GameStats } from '../../lib/localStorage' import { TOTAL_TRIES_TEXT, SUCCESS_RATE_TEXT, CURRENT_STREAK_TEXT, BEST_STREAK_TEXT, } from '../../constants/strings' type Props = { gameStats: GameStats } const StatItem = ({ label, value, }: { label: string value: string | number }) => { return (