Commit e9e664be authored by Damien Mariotto's avatar Damien Mariotto
Browse files

[Dialog] Forgot required on proptype

parent e236a248
Pipeline #1639 passed with stage
in 50 seconds
......@@ -113,7 +113,7 @@ Dialog.propTypes = {
/**
* Callback appelée lors de la fermeture de la boîte de dialogue
*/
onClose: PropTypes.func,
onClose: PropTypes.func.isRequired,
/**
* Ouvre ou non la boîte de dialogue
......
......@@ -182,7 +182,7 @@ Modal.propTypes = {
disableEscapeKeyDown: PropTypes.bool,
/**
* Callback appelée lors de la fermeture de la boîte de dialogue
* Callback appelée lors de la fermeture de la modal
*/
onClose: PropTypes.func.isRequired
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment