new Notification(open, closeNotification) → {JSX}
Notification : la notification qui indique des informations au joueur
Parameters:
| Name | Type | Description |
|---|---|---|
open |
bool | Etat de la notification (ouvert/fermé) |
closeNotification |
function | Fonction pour faire disparaitre la notification |
- Source:
Returns:
Le rendu jsx de la notification
- Type
- JSX
Example
<Notification open={openNotification} closeNotification={closeNotification} />