ReactJS-components
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
- From the command line inside of your project
npm install --save reactjs-components react react-gemini-scrollbar canvas-ui
- Import the component that you want to use
// es6; // es5var Modal = Modal;
- Use as if it was any other component
// ... { return // ... <Modal ...props> // Content <Modal /> ;}
- Import LESS files which will add all styles for all components.
"./node_modules/canvas-ui/styles/canvas.less" inline "./node_modules/reactjs-components/lib/index.less"
Contributing
See here.