new WordDisplay(word, legend, say, align) → {JSX}
Affichage de mot : l'affichage du mot lors d'un fin de round
Parameters:
| Name | Type | Description |
|---|---|---|
word |
string | Valeur du mot |
legend |
string | Label affiché |
say |
function | Fonction pour faire parler la synthèse vocale |
align |
string | CSS alignement en flex |
- Source:
Returns:
Le rendu jsx de l'affichage de mot.
- Type
- JSX
Example
<WordDisplay word={props.round.word.id} legend="Le mot était" say={props.say} align="left"/>