import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { COLORS } from '../constants/colors'; interface MathProblemProps { num1: number; num2: number; operator: string; } export const MathProblem: React.FC = ({ num1, num2, operator }) => { return ( {num1} {operator} {num2} = ? ); }; const styles = StyleSheet.create({ container: { backgroundColor: COLORS.surface, borderRadius: 16, borderWidth: 1, borderColor: COLORS.border, paddingVertical: 28, paddingHorizontal: 40, marginVertical: 16, alignItems: 'center', }, text: { flexDirection: 'row', alignItems: 'center', }, number: { fontSize: 44, fontWeight: '800', color: COLORS.text, fontVariant: ['tabular-nums'], }, operator: { fontSize: 36, fontWeight: '600', color: COLORS.primary, }, equals: { fontSize: 36, fontWeight: '600', color: COLORS.textDim, }, questionMark: { fontSize: 44, fontWeight: '800', color: COLORS.accent, }, });