Const
Provides a global close handler to a subtree.
Descendant components can retrieve this handler via useCloseHandler and invoke it to request closing of the enclosing context (for example, dismissing a modal, popup, or rendered container).
useCloseHandler
Provides a global close handler to a subtree.
Descendant components can retrieve this handler via useCloseHandler and invoke it to request closing of the enclosing context (for example, dismissing a modal, popup, or rendered container).