Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

3 лет назад
123456789101112131415161718192021222324252627
  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. /* eslint-disable react/require-render-return, react/no-unused-prop-types */
  7. var Tab = /*#__PURE__*/function (_React$Component) {
  8. _inheritsLoose(Tab, _React$Component);
  9. function Tab() {
  10. return _React$Component.apply(this, arguments) || this;
  11. }
  12. var _proto = Tab.prototype;
  13. _proto.render = function render() {
  14. 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');
  15. };
  16. return Tab;
  17. }(React.Component);
  18. Tab.Container = TabContainer;
  19. Tab.Content = TabContent;
  20. Tab.Pane = TabPane;
  21. export default Tab;