Add working exports to the inferno-bootstrap library

This commit is contained in:
Timothy Warren 2018-04-02 19:56:31 -04:00
parent 0031d4964f
commit 6493719ca6
6 changed files with 95 additions and 1 deletions

View File

@ -1,5 +1,55 @@
import Alert from 'inferno-bootstrap/dist/Alert';
import Badge from 'inferno-bootstrap/dist/Badge';
import Breadcrumb from 'inferno-bootstrap/dist/Breadcrumb';
import BreadcrumbItem from 'inferno-bootstrap/dist/BreadcrumbItem';
import ButtonDropdown from 'inferno-bootstrap/dist/ButtonDropdown';
import ButtonGroup from 'inferno-bootstrap/dist/ButtonGroup';
import ButtonToolbar from 'inferno-bootstrap/dist/ButtonToolbar';
import Collapse from 'inferno-bootstrap/dist/Collapse';
import Dropdown from 'inferno-bootstrap/dist/Dropdown';
import DropdownItem from 'inferno-bootstrap/dist/DropdownItem';
import DropdownMenu from 'inferno-bootstrap/dist/DropdownMenu';
import DropdownToggle from 'inferno-bootstrap/dist/DropdownToggle';
import Jumbotron from 'inferno-bootstrap/dist/Jumbotron'; import Jumbotron from 'inferno-bootstrap/dist/Jumbotron';
import Pagination from 'inferno-bootstrap/dist/Pagination';
import PaginationItem from 'inferno-bootstrap/dist/PaginationItem';
import PaginationLink from 'inferno-bootstrap/dist/PaginationLink';
import Popover from 'inferno-bootstrap/dist/Popover';
import PopoverBody from 'inferno-bootstrap/dist/PopoverBody';
import PopoverHeader from 'inferno-bootstrap/dist/PopoverHeader';
import PopperContent from 'inferno-bootstrap/dist/PopperContent';
import PopperTargetHelper from 'inferno-bootstrap/dist/PopperTargetHelper';
import Progress from 'inferno-bootstrap/dist/Progress';
import TabContent from 'inferno-bootstrap/dist/TabContent';
import TabPane from 'inferno-bootstrap/dist/TabPane';
import Table from 'inferno-bootstrap/dist/Table';
import Tooltip from 'inferno-bootstrap/dist/Tooltip';
export { export {
Alert,
Badge,
Breadcrumb,
BreadcrumbItem,
ButtonDropdown,
ButtonGroup,
ButtonToolbar,
Collapse,
Dropdown,
DropdownItem,
DropdownMenu,
DropdownToggle,
Jumbotron, Jumbotron,
Pagination,
PaginationItem,
PaginationLink,
Popover,
PopoverBody,
PopoverHeader,
PopperContent,
PopperTargetHelper,
Progress,
TabContent,
TabPane,
Table,
Tooltip,
}; };

View File

@ -0,0 +1,11 @@
import ListGroup from 'inferno-bootstrap/dist/List/ListGroup';
import ListGroupItem from 'inferno-bootstrap/dist/List/ListGroupItem';
import ListGroupItemHeading from 'inferno-bootstrap/dist/List/ListGroupItemHeading';
import ListGroupItemText from 'inferno-bootstrap/dist/List/ListGroupItemText';
export {
ListGroup,
ListGroupItem,
ListGroupItemHeading,
ListGroupItemText,
};

View File

@ -0,0 +1,13 @@
import AnimateModal from 'inferno-bootstrap/dist/Modal/AnimateModal';
import Modal from 'inferno-bootstrap/dist/Modal/Modal';
import ModalBody from 'inferno-bootstrap/dist/Modal/ModalBody';
import ModalFooter from 'inferno-bootstrap/dist/Modal/ModalFooter';
import ModalHeader from 'inferno-bootstrap/dist/Modal/ModalHeader';
export {
AnimateModal,
Modal,
ModalBody,
ModalFooter,
ModalHeader,
};

View File

@ -0,0 +1,17 @@
import Nav from 'inferno-bootstrap/dist/Navigation/Nav';
import NavDropdown from 'inferno-bootstrap/dist/Navigation/NavDropdown';
import NavItem from 'inferno-bootstrap/dist/Navigation/NavItem';
import NavLink from 'inferno-bootstrap/dist/Navigation/NavLink';
import Navbar from 'inferno-bootstrap/dist/Navigation/Navbar';
import NavbarBrand from 'inferno-bootstrap/dist/Navigation/NavbarBrand';
import NavbarToggler from 'inferno-bootstrap/dist/Navigation/NavbarToggler';
export {
Nav,
NavDropdown,
NavItem,
NavLink,
Navbar,
NavbarBrand,
NavbarToggler,
};

View File

@ -1,4 +1,7 @@
export * from './Bootstrap'; export * from './Bootstrap';
export * from './Cards'; export * from './Card';
export * from './Form'; export * from './Form';
export * from './Grid'; export * from './Grid';
export * from './List';
export * from './Modal';
export * from './Navigation';