1 | import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose";
|
2 | import React from 'react';
|
3 | import TabContainer from './TabContainer';
|
4 | import TabContent from './TabContent';
|
5 | import TabPane from './TabPane';
|
6 |
|
7 |
|
8 | var Tab =
|
9 |
|
10 | function (_React$Component) {
|
11 | _inheritsLoose(Tab, _React$Component);
|
12 |
|
13 | function Tab() {
|
14 | return _React$Component.apply(this, arguments) || this;
|
15 | }
|
16 |
|
17 | var _proto = Tab.prototype;
|
18 |
|
19 | _proto.render = function render() {
|
20 | throw new Error('ReactBootstrap: The `Tab` component is not meant to be rendered! ' + "It's an abstract component that is only valid as a direct Child of the `Tabs` Component. " + 'For custom tabs components use TabPane and TabsContainer directly');
|
21 | };
|
22 |
|
23 | return Tab;
|
24 | }(React.Component);
|
25 |
|
26 | Tab.Container = TabContainer;
|
27 | Tab.Content = TabContent;
|
28 | Tab.Pane = TabPane;
|
29 | export default Tab; |
\ | No newline at end of file |