new RoundButton(onClick, label, animated) → {JSX}
Bouton en cercle : les boutons rectangles de l'application
Parameters:
| Name | Type | Description |
|---|---|---|
onClick |
function | Fonction qui s'execute lorsqu'on clique sur le bouton |
label |
string | Label du boutons |
animated |
bool | Etat qui indique si le bouton doit être animé ou non |
- Source:
Returns:
Le rendu jsx du bouton arrondi.
- Type
- JSX
Example
<RoundButton animated={true} onClick={sayWord} label="Écouter le mot à reconstituer">
//roundbuttonContent
</RoundButton>