@yoursurprise/slider 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -28,12 +28,12 @@ All browsers with [IntersectionObserver](https://developer.mozilla.org/en-US/doc
28
28
 
29
29
  ### Import the CSS files
30
30
 
31
- `import "@yoursurprisecom/slider/dist/index.css";`
31
+ `import "@yoursurprise/slider/dist/index.css";`
32
32
 
33
33
  ### Implement the Slider
34
34
 
35
35
  ```
36
- import Slider from '@yoursurprisecom/slider';
36
+ import { Slider } from '@yoursurprisecom/slider';
37
37
  import '@yoursurprisecom/slider/dist/index.css';
38
38
 
39
39
  export default function YourComponent() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoursurprise/slider",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "Basic React slider using modern Javascript and CSS",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",