Function useCloseHandler

  • A global close handler provided to a subtree.

    Returns (() => void) | undefined