.props.onUnmount(this.refs.content, this.props); } // Move panel's content node back into list of tab panels. panels.appendChild(this.refs.content.firstChild); } render() { return div({ ref: "content", className: "devtools-inspector-tab-panel", }); } } module.exports = InspectorTabPanel; PK