()
| 2516 | _inheritsLoose(DropdownMenu, _React$Component); |
| 2517 | |
| 2518 | function DropdownMenu() { |
| 2519 | var _this; |
| 2520 | |
| 2521 | for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { |
| 2522 | args[_key] = arguments[_key]; |
| 2523 | } |
| 2524 | |
| 2525 | _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; |
| 2526 | _this.state = { |
| 2527 | toggleId: null |
| 2528 | }; |
| 2529 | _this.popperIsInitialized = false; |
| 2530 | |
| 2531 | _this.handleClose = function (e) { |
| 2532 | if (!_this.props.onToggle) return; |
| 2533 | |
| 2534 | _this.props.onToggle(false, e); |
| 2535 | }; |
| 2536 | |
| 2537 | return _this; |
| 2538 | } |
| 2539 | |
| 2540 | var _proto = DropdownMenu.prototype; |
| 2541 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…