react-custom-scrollbars-2
Advanced tools
Comparing version 4.2.3 to 4.2.4
@@ -14,3 +14,3 @@ # Customization | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -49,3 +49,3 @@ class CustomScrollbars extends Component { | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -71,3 +71,3 @@ class CustomScrollbars extends Component { | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
class CustomScrollbars extends Component { | ||
@@ -74,0 +74,0 @@ constructor(props, context) { |
@@ -8,3 +8,3 @@ # Usage | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -35,3 +35,3 @@ class App extends Component { | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -65,3 +65,3 @@ class App extends Component { | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -89,3 +89,3 @@ class App extends Component { | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -112,3 +112,3 @@ class App extends Component { | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -115,0 +115,0 @@ class App extends Component { |
@@ -9,3 +9,3 @@ # v2.x Documentation | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -70,3 +70,3 @@ class CustomScrollbars extends Component { | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -108,3 +108,3 @@ class CustomScrollbars extends Component { | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -111,0 +111,0 @@ class App extends Component { |
@@ -1,3 +0,3 @@ | ||
// Type definitions for react-custom-scrollbars 4.0 | ||
// Project: https://github.com/malte-wessel/react-custom-scrollbars | ||
// Type definitions for react-custom-scrollbars-2 4.0 | ||
// Project: https://github.com/malte-wessel/react-custom-scrollbars-2 | ||
// Definitions by: David-LeBlanc-git <https://github.com/David-LeBlanc-git> | ||
@@ -68,4 +68,5 @@ // kittimiyo <https://github.com/kittimiyo> | ||
getValues(): positionValues; | ||
container: HTMLDivElement; | ||
} | ||
export default Scrollbars; |
@@ -32,3 +32,3 @@ /* eslint no-var: 0, no-unused-vars: 0 */ | ||
alias: { | ||
'react-custom-scrollbars': path.resolve(__dirname, './src') | ||
'react-custom-scrollbars-2': path.resolve(__dirname, './src') | ||
} | ||
@@ -35,0 +35,0 @@ }, |
The MIT License (MIT) | ||
Copyright (c) 2015 react-custom-scrollbars | ||
Copyright (c) 2015 react-custom-scrollbars-2 | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "react-custom-scrollbars-2", | ||
"version": "4.2.3", | ||
"version": "4.2.4", | ||
"description": "React scrollbars component", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -1,2 +0,2 @@ | ||
react-custom-scrollbars | ||
react-custom-scrollbars-2 | ||
========================= | ||
@@ -25,3 +25,3 @@ | ||
```bash | ||
npm install react-custom-scrollbars --save | ||
npm install react-custom-scrollbars-2 --save | ||
``` | ||
@@ -31,3 +31,3 @@ | ||
If you don’t yet use [npm](http://npmjs.com/) or a modern module bundler, and would rather prefer a single-file [UMD](https://github.com/umdjs/umd) build that makes `ReactCustomScrollbars` available as a global object, you can grab a pre-built version from [unpkg](https://unpkg.com/react-custom-scrollbars@3.0.1/dist/react-custom-scrollbars.js). We *don’t* recommend this approach for any serious application, as most of the libraries complementary to `react-custom-scrollbars` are only available on [npm](http://npmjs.com/). | ||
If you don’t yet use [npm](http://npmjs.com/) or a modern module bundler, and would rather prefer a single-file [UMD](https://github.com/umdjs/umd) build that makes `ReactCustomScrollbars` available as a global object, you can grab a pre-built version from [unpkg](https://unpkg.com/react-custom-scrollbars@3.0.1/dist/react-custom-scrollbars.js). We *don’t* recommend this approach for any serious application, as most of the libraries complementary to `react-custom-scrollbars-2` are only available on [npm](http://npmjs.com/). | ||
@@ -39,3 +39,3 @@ ## Usage | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -56,3 +56,3 @@ class App extends Component { | ||
```javascript | ||
import { Scrollbars } from 'react-custom-scrollbars'; | ||
import { Scrollbars } from 'react-custom-scrollbars-2'; | ||
@@ -96,3 +96,3 @@ class CustomScrollbars extends Component { | ||
# Move to example directory | ||
cd react-custom-scrollbars/examples/simple | ||
cd react-custom-scrollbars-2/examples/simple | ||
npm install | ||
@@ -99,0 +99,0 @@ npm start |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
195368
3474
6