MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / toggle

Function toggle

src/TooltipPopoverWrapper.js:319–325  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

317 }
318
319 toggle(e) {
320 if (this.props.disabled || !this._isMounted) {
321 return e && e.preventDefault();
322 }
323
324 return this.props.toggle(e);
325 }
326
327 render() {
328 if (this.props.isOpen) {

Callers

nothing calls this directly

Calls 1

toggleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…