react-freeze-body

    1.2.1 • Public • Published

    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

    Install

    npm i react-freeze-body

    DownloadsWeekly Downloads

    0

    Version

    1.2.1

    License

    MIT

    Last publish

    Collaborators

    • hanford