sheleoni / icecream-kana-game

A game for learning Japanese characters in the form of collecting ice-cream scoops. 🍦
https://icecream.sheleoni.com/
1 stars 0 forks source link

add checklist filter #17

Closed sheleoni closed 1 year ago

sheleoni commented 1 year ago
sheleoni commented 1 year ago
sheleoni commented 1 year ago

Note: for logging selected rows

            Selected rows:
                {
                    Object.entries(allRowCharacters).map(([row, isChecked]: [string, boolean]) => {
                        return (
                           isChecked && (<p key={row}>
                               { row }行:
                               { CharactersByRow[row].map((character): ReactElement => {
                                    return (<span key={row}>{character}</span>)
                               })
                               }
                            {/*   todo: fix type error */}
                            </p>)
                        )
                    })
                }
            </p>