function() {
        /* eslint-disable no-alert */
        var close = typeof this.portalConfirmOnCloseMessage === 'string' ? confirm(this.portalConfirmOnCloseMessage) : true;
        /* eslint-enable no-alert */

        if (this.portalNode && this.portalNode.parentNode && close) {
            ReactDOM.unmountComponentAtNode(this.portalNode);
            this.portalNode.parentNode.removeChild(this.portalNode);
            this.portalNode = null;
        }
    }
function() {
        
        var close = typeof this.portalConfirmOnCloseMessage === 'string' ? confirm(this.portalConfirmOnCloseMessage) : true;
        

        if (this.portalNode && this.portalNode.parentNode && close) {
            ReactDOM.unmountComponentAtNode(this.portalNode);
            this.portalNode.parentNode.removeChild(this.portalNode);
            this.portalNode = null;
        }
    }
function ( ) { /* eslint-disable no-alert */ var close = typeof this . portalConfirmOnCloseMessage === 'string' ? confirm ( this . portalConfirmOnCloseMessage ) : true ; /* eslint-enable no-alert */ if ( this . portalNode && this . portalNode . parentNode && close ) { ReactDOM . unmountComponentAtNode ( this . portalNode ) ; this . portalNode . parentNode . removeChild ( this . portalNode ) ; this . portalNode = null ; } }
Unmounts the components rendered in the portal and removes the associated DOM node.
Unmounts the components rendered in the portal and removes the associated DOM node .