onClose
Callback fired when the component requests to be closed.
Parameters
{string} reason Can be: "toggle", "blur", "mouseLeave", "escapeKeyDown".
Callback fired when the component requests to be closed.
{string} reason Can be: "toggle", "blur", "mouseLeave", "escapeKeyDown".