4.0.12 • Published 2 years ago

dw-neit-rc-align v4.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

dw-neit-rc-align


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

NPM version build status Codecov 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

dw-neit-rc-align

Usage

var Align = require('dw-neit-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

dw-neit-rc-align is released under the MIT license.