body-scroll-lock icon indicating copy to clipboard operation
body-scroll-lock copied to clipboard

Add example using React hooks

Open edgarlr opened this issue 1 year ago • 1 comments

Even when they're already 2 react examples, most of the modern react development is around hooks. Would be great to add an example of how to use body-scroll-lock along with modern react. (hooks)

edgarlr avatar Mar 17 '23 17:03 edgarlr

They stopped the repairs. I had to do it myself, in the same way, with a new version of typeScript. And fix these problems for everyone to use. add react hooks、vue3 example

npm i body-scroll-lock-upgrade

repair log,Refer to the releases page.

rick-liruixin avatar Apr 15 '23 07:04 rick-liruixin