react-customscroll
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "react-customscroll", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "This is little component for custom scroll in React", | ||
@@ -14,3 +14,3 @@ "main": "dist/customscroll.js", | ||
}, | ||
"author": "Aleksandrov Sergey <gooddev.sergey@gmail.com> (https://github.com/AlexSergey/react-custom-scroll)", | ||
"author": "Aleksandrov Sergey <gooddev.sergey@gmail.com> (https://github.com/AlexSergey/react-customscroll)", | ||
"license": "MIT", | ||
@@ -17,0 +17,0 @@ "devDependencies": { |
@@ -5,2 +5,4 @@ # React Custom Scroll | ||
[Demo](http://natrube.net/custom-scroll/index.html) | ||
## Features: | ||
@@ -17,3 +19,2 @@ - Without dependency | ||
[Example](http://natrube.net/custom-scroll/index.html) | ||
@@ -30,3 +31,3 @@ ## How usage | ||
Inject component on your page: | ||
``` | ||
```jsx | ||
import 'react-customscroll/dist/styles.css'; | ||
@@ -39,3 +40,3 @@ import CustomScroll from 'react-customscroll'; | ||
For example: | ||
``` | ||
```jsx | ||
<div style={{height: '500px', overflow: 'hidden'}}> | ||
@@ -47,2 +48,6 @@ <CustomScroll> | ||
``` | ||
See more examples in <strong>example/index.html</strong> | ||
See more examples in <strong>example/index.html</strong> | ||
## License | ||
MIT |
@@ -14,3 +14,5 @@ const fs = require('fs'); | ||
hasVendors: false, | ||
entry: {}, | ||
entry: { | ||
customscroll: path.join(src, 'index.jsx') | ||
}, | ||
output: { | ||
@@ -17,0 +19,0 @@ path: dest |
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
2483543
58673
48