()
| 16588 | _inheritsLoose(TabContainer, _React$Component); |
| 16589 | |
| 16590 | function TabContainer() { |
| 16591 | var _this; |
| 16592 | |
| 16593 | for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { |
| 16594 | args[_key] = arguments[_key]; |
| 16595 | } |
| 16596 | |
| 16597 | _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this; |
| 16598 | |
| 16599 | _this.getControlledId = function (key) { |
| 16600 | return _this.getKey(key, 'tabpane'); |
| 16601 | }; |
| 16602 | |
| 16603 | _this.getControllerId = function (key) { |
| 16604 | return _this.getKey(key, 'tab'); |
| 16605 | }; |
| 16606 | |
| 16607 | _this.state = { |
| 16608 | tabContext: { |
| 16609 | onSelect: _this.props.onSelect, |
| 16610 | activeKey: _this.props.activeKey, |
| 16611 | transition: _this.props.transition, |
| 16612 | mountOnEnter: _this.props.mountOnEnter, |
| 16613 | unmountOnExit: _this.props.unmountOnExit, |
| 16614 | getControlledId: _this.getControlledId, |
| 16615 | getControllerId: _this.getControllerId |
| 16616 | } |
| 16617 | }; |
| 16618 | return _this; |
| 16619 | } |
| 16620 | |
| 16621 | TabContainer.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) { |
| 16622 | var activeKey = _ref.activeKey, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…