MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / onClosed

Function onClosed

src/Modal.js:279–293  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

277 }
278
279 onClosed(node) {
280 const { unmountOnClose } = this.props;
281 // so all methods get called before it is unmounted
282 this.props.onClosed();
283 (this.props.modalTransition.onExited || noop)(node);
284
285 if (unmountOnClose) {
286 this.destroy();
287 }
288 this.close();
289
290 if (this._isMounted) {
291 this.setState({ isOpen: false });
292 }
293 }
294
295 setFocus() {
296 if (

Callers

nothing calls this directly

Calls 1

onClosedMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…