If you don't want to remove the modal from the tree after hide when using helpers, set it to true.
Hide the modal, it will change visible state to false.
Reject the promise returned by show method.
Remove the modal component from React component tree. It improves performance compared to just making a modal invisible.
Resolve the promise returned by show method.
Resolve the promise returned by hide method.
Show the modal, it will change visible state to true.
an object passed to modal component as props.
Generated using TypeDoc
The handler to manage a modal returned by useModal hook.