CAUTION: This library is not ready for public use yet.
React components for Rackspace's Canon framework
Git clone and run npm install
to install dependencies (may need to be run as sudo)
To build a bundled file for release run npm run build
To build a demo bundle for testing run npm run demo-build
and open canon-react/demo/index.html
in your browser
To run tests with phantom run npm run test
To run tests in chrome and watch for changes run npm run test-watch
npm install canon-react
will install the canon-react module inside of the node_modules
directory of your current directory. npm install canon-react -g
(may need sudo) will install the canon-react module globally.
After installation you can use canon react components.
var Component = require('canon-react').Component;
ES6:
import {Component} from 'canon-react';
An example of how to use canon-react components can be found in node_modules/canon-react/demo/demo.jsx
This is a list of what is planned for the next release
- Action Button
- Action Dropdown
- Popovers
- Status Indicator
- Tooltips
- NPM Module