react-scroll-lock
v1.0.0
Published
Scroll lock mixin for React components
Downloads
283
Readme
react-scroll-lock
Scroll lock mixin for React components
Usage
Simply add mixin in component, witch be lock inner scroll.
var ScrollLock = require('react-scroll-lock');
React.createClass({
mixins : [
ScrollLock
],
render : function() {
return (
<div> ... </div>
)
}
})