import * as React from 'react' import type { Words } from '@lastres/word' import { StateGame } from '@lastres/components/game' export interface WordSelectorProps { words: Words | null setStateGame: (set: StateGame) => void } export default function WordSelector (props: WordSelectorProps): JSX.Element { const words = props.words return (
{ props.setStateGame(StateGame.MainScreen) }}>x

Selecciona una palabra.

) }