JSPM

reactstrap

0.4.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 459317
  • Score
    100M100P100Q169407F
  • License MIT

React Bootstrap 4 components

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 Build Status Test Coverage

A work in progress react component library for Bootstrap 4. Don't use this just yet.

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 the example sections for usage: https://github.com/eddywashere/reactstrap/tree/master/example/js

Currently this library contains basic support for the following components:

  • Buttons
  • Button Dropdowns
  • Button Groups
  • Button Tools
  • Dropdowns
  • Tooltips

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