Package Exports
- reactstrap
- reactstrap/lib
- reactstrap/lib/utils
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (reactstrap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
reactstrap

React Bootstrap 4 components compatible with React 0.14.x & 15.
Project Goals
- Provide a simple interface for integrating bootstrap components
- When appropriate, extend/reuse standard DOM attributes like
disabled
,type
,title
- Don't require dependency on jQuery or Bootstrap's JavaScript
Installation
Add reactstrap
as a dependency via npm:
npm install reactstrap --save
Import the components you need, example:
import { Button } from 'lib/index';
Documentation
Until a documentation site exists, checkout this jsbin live demo or the example sections for usage: https://github.com/reactstrap/reactstrap/tree/master/example/js
This library contains the following components:
- Button,
- ButtonDropdown,
- ButtonGroup,
- ButtonToolbar,
- Dropdown,
- DropdownItem,
- DropdownMenu,
- DropdownToggle,
- Label,
- Popover,
- PopoverContent,
- PopoverTitle,
- Modal,
- ModalHeader,
- ModalBody,
- ModalFooter,
- Tooltip
Development
Install dependencies:
npm install
Run examples at http://localhost:8080/ with webpack dev server:
npm start
Run tests & coverage report:
npm test
Watch tests:
npm run test-watch