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 = function (_React$Component) {
|
9 | _inheritsLoose(Tab, _React$Component);
|
10 |
|
11 | function Tab() {
|
12 | return _React$Component.apply(this, arguments) || this;
|
13 | }
|
14 |
|
15 | var _proto = Tab.prototype;
|
16 |
|
17 | _proto.render = function render() {
|
18 | 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');
|
19 | return null;
|
20 | };
|
21 |
|
22 | return Tab;
|
23 | }(React.Component);
|
24 |
|
25 | Tab.Container = TabContainer;
|
26 | Tab.Content = TabContent;
|
27 | Tab.Pane = TabPane;
|
28 | export default Tab; |
\ | No newline at end of file |