reactjs-components

5.0.3 • Public • Published

ReactJS-components Build Status david-dm devDependency Status

A library of reusable React components. For examples, take a look at our kitchen sink.

Available components

  • Dropdown
  • List
  • Form
  • Modal
  • Confirm
  • Side Panel
  • Table
  • Tooltip

Using the components

  1. From the command line inside of your project
npm install --save reactjs-components react react-gemini-scrollbar canvas-ui
  1. Import the component that you want to use
// es6
import {Modal} from 'reactjs-components';
 
// es5
var Modal = require('reactjs-components').Modal;
  1. Use as if it was any other component
// ...
 
render: function () {
  return (
    // ...
    <Modal ...{props}>
      // Content
    <Modal />
  );
}
  1. Import LESS files which will add all styles for all components.
@import "./node_modules/canvas-ui/styles/canvas.less"
@import (inline) "./node_modules/reactjs-components/lib/index.less"

Contributing

See here.

Readme

Keywords

none

Package Sidebar

Install

npm i reactjs-components

Weekly Downloads

78

Version

5.0.3

License

Apache-2.0

Unpacked Size

238 kB

Total Files

47

Last publish

Collaborators

  • dschmidt
  • fabsn
  • juliangieseke
  • matapple
  • mperrotti
  • nlight
  • orlandohohmeier
  • specone