4.0.12 • Published 2 years ago
dw-neit-rc-align v4.0.12
dw-neit-rc-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('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.
4.0.12
2 years ago