<DashboardModal /> component wraps the Dashboard plugin, allowing control over the modal
open state using a prop.
On top of all the Dashboard options, the
<DashboardModal /> plugin adds two additional props:
open- Boolean true or false, setting this to
trueopens the modal and setting it to
onRequestClose- Callback called when the user attempts to close the modal, either by clicking the close button or by clicking outside the modal (if the
closeModalOnClickOutsideprop is set).
Caught a mistake or want to contribute to the documentation? Edit/fork this page directly on Github!