1.0.0 • Published 6 years ago
react-scroll-lock v1.0.0
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>
)
}
})