1.0.0 • Published 7 years ago

rmc-align v1.0.0

Weekly downloads
22,945
License
-
Repository
github
Last release
7 years ago

rmc-align


React Align Component. Wrapper around https://github.com/yiminghe/dom-align.

NPM version build status Test coverage gemnasium deps node version npm download

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

rmc-align

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.