import { GAME_TEXT } from "@/constants/gameConstants"; import React from "react"; import styles from "./WordWrangler.module.css"; interface GameWordProps { word: string; showAutoDetected: boolean; showIncorrect: boolean; } export const GameWord: React.FC = ({ word, showAutoDetected, showIncorrect, }) => { return (
{GAME_TEXT.describeWord} {word} {showAutoDetected && } {showIncorrect && }
); }; const CorrectOverlay: React.FC = () => (
); const IncorrectOverlay: React.FC = () => (
);