1.2.1 • Published 7 years ago

react-freeze-body v1.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

react-freeze-body

Add overflow: hidden; to the document.body, the react way.

Pass html in as a prop to conditionally freeze html too!

Install

$ npm install react-freeze-body --save

Usage

import ReactFreezeBody from 'react-freeze-body'

render () {
  return (
    <ReactFreezeBody />
  )
}

MIT © Jack Hanford