rmc-align
v1.0.0
Published
react align ui component for mobile
Downloads
74,457
Maintainers
Readme
rmc-align
React Align Component. Wrapper around https://github.com/yiminghe/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('rmc-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
rmc-align is released under the MIT license.