🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

react-range-slider-input

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-range-slider-input - npm Package Compare versions

Comparing version

to
3.0.2

@@ -16,4 +16,2 @@ "use strict";

require("./index.css");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -20,0 +18,0 @@

{
"name": "react-range-slider-input",
"version": "2.1.4",
"version": "3.0.2",
"private": false,

@@ -5,0 +5,0 @@ "description": "React component wrapper for range-slider-input",

@@ -21,7 +21,3 @@ [circleci-image]: https://circleci.com/gh/n3r4zzurr0/react-range-slider-input.svg?style=shield

<hr>
:warning: **It is recommended that you upgrade from v1.x to v2.x! [What's new and what's changed in v2.x?](https://github.com/n3r4zzurr0/react-range-slider-input/blob/master/CHANGELOG.md#v20x)**
<hr>
<br>

@@ -35,6 +31,9 @@

## Usage
**v3.0.x and above (recommended)**
```js
import RangeSlider from 'react-range-slider-input';
import 'react-range-slider-input/dist/style.css';
function App() {
export default function () {
return (

@@ -44,4 +43,12 @@ <RangeSlider />

}
```
**v2.1.x and below**
```js
import RangeSlider from 'react-range-slider-input';
export default App;
export default function () {
return (
<RangeSlider />
);
}
```

@@ -48,0 +55,0 @@