diff --git a/README.md b/README.md index 31d2b4c..5d4e788 100644 --- a/README.md +++ b/README.md @@ -104,11 +104,9 @@ const Demo = () => { ### How to prevent user scroll ? ```jsx - +const style = { overflow: 'hidden !important' }; + +; ``` ### How to hide scrollbar ? @@ -123,9 +121,6 @@ const Demo = () => { /* firefox */ scrollbar-width: none; - - /* ie */ - -ms-overflow-style: none; } ```