Jesus sucks
This commit is contained in:
33
backend/frontend/node_modules/react-bootstrap/esm/Tab.js
generated
vendored
Normal file
33
backend/frontend/node_modules/react-bootstrap/esm/Tab.js
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
import PropTypes from 'prop-types';
|
||||
import TabContainer from './TabContainer';
|
||||
import TabContent from './TabContent';
|
||||
import TabPane from './TabPane';
|
||||
/* eslint-disable react/no-unused-prop-types */
|
||||
const propTypes = {
|
||||
eventKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
||||
/**
|
||||
* Content for the tab title.
|
||||
*/
|
||||
title: PropTypes.node.isRequired,
|
||||
/**
|
||||
* The disabled state of the tab.
|
||||
*/
|
||||
disabled: PropTypes.bool,
|
||||
/**
|
||||
* Class to pass to the underlying nav link.
|
||||
*/
|
||||
tabClassName: PropTypes.string,
|
||||
/**
|
||||
* Object containing attributes to pass to underlying nav link.
|
||||
*/
|
||||
tabAttrs: PropTypes.object
|
||||
};
|
||||
const Tab = () => {
|
||||
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');
|
||||
};
|
||||
Tab.propTypes = propTypes;
|
||||
export default Object.assign(Tab, {
|
||||
Container: TabContainer,
|
||||
Content: TabContent,
|
||||
Pane: TabPane
|
||||
});
|
||||
Reference in New Issue
Block a user