import { Cell } from "./Cell"; type Props = { guess: string; }; export const CurrentRow = ({ guess }: Props) => { const splitGuess = guess.split(""); const emptyCells = Array.from(Array(5 - splitGuess.length)); return (
{splitGuess.map((letter, i) => ( ))} {emptyCells.map((_, i) => ( ))}
); };