react-remove-scroll-bar
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "react-remove-scroll-bar", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Removes body scroll without content _shake_", | ||
@@ -33,4 +33,4 @@ "main": "dist/es5/index.js", | ||
"peerDependencies": { | ||
"react": "^16.8.0", | ||
"@types/react": "^16.8.0" | ||
"react": "^16.8.0 || ^17.0.0", | ||
"@types/react": "^16.8.0 || ^17.0.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "peerDependenciesMeta": { |
@@ -1,4 +0,9 @@ | ||
react-remove-scroll-bar | ||
==== | ||
<h1>react-remove-scroll-bar</h1> | ||
[![npm](https://img.shields.io/npm/v/react-remove-scroll-bar.svg)](https://www.npmjs.com/package/react-remove-scroll-bar) | ||
[![bundle size](https://badgen.net/bundlephobia/minzip/react-remove-scroll-bar)](https://bundlephobia.com/result?p=react-remove-scroll-bar) | ||
[![downloads](https://badgen.net/npm/dm/react-remove-scroll-bar)](https://www.npmtrends.com/react-remove-scroll-bar) | ||
<hr /> | ||
> v1+ for React 15, v2+ requires React 16.8+ | ||
@@ -33,3 +38,3 @@ | ||
// to remove scrollbar from an element | ||
<div className={fullWidthClassName} /> | ||
<div className={noScrollbarsClassName} /> | ||
@@ -48,2 +53,2 @@ ``` | ||
# License | ||
MIT | ||
MIT |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12887
53