rc-align
v4.0.15
Published
align ui component for react
Downloads
5,201,689
Readme
rc-align
React Align Component. Wrapper around https://github.com/react-component/dom-align.
Development
npm install
npm start
Example
http://localhost:8100/examples/
online example: http://react-component.github.io/align/examples/
Feature
- support ie8,ie8+,chrome,firefox,safari
Keyboard
install
Usage
var Align = require('rc-align');
var ReactDOM = require('react-dom');
ReactDOM.render(<Align align={{}} target={function(){}}><div></div></Align>, container);
will align child with target when mounted or align is changed
API
props
License
rc-align is released under the MIT license.