Returns the current open state — null when the modal is closed. Useful for tests; renderers should use the hook instead so they re-render on changes.
null
Returns the current open state —
nullwhen the modal is closed. Useful for tests; renderers should use the hook instead so they re-render on changes.