@chrisvince/react-lock-body-scroll
A React component that can be used to lock the body from scrolling.
Usage no npm install needed!
<script type="module">
import chrisvinceReactLockBodyScroll from 'https://cdn.skypack.dev/@chrisvince/react-lock-body-scroll';
</script>