react-fancy-circular-carousel 1.0.2 → 1.0.4
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.
- package/README.md +2 -2
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- Get focus element to add in your own components
|
|
10
10
|
- Smooth, easy to implement, fantastic UI
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## Installation
|
|
13
13
|
|
|
14
14
|
$ npm install react-fancy-circular-carousel
|
|
15
15
|
|
|
@@ -91,7 +91,7 @@ import image4 from './assets/image4.png';
|
|
|
91
91
|
|
|
92
92
|
const YourComponent = () => (
|
|
93
93
|
|
|
94
|
-
// the focus element would be the array index of the currently
|
|
94
|
+
// the focus element would be the array index of the image currently at focus
|
|
95
95
|
const [focusElement, setFocusElement] = useState(0);
|
|
96
96
|
|
|
97
97
|
const images = [image1, image2, image3, image4];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-fancy-circular-carousel",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Interactive circular carousel with image elements highly customisable as per the developer's needs",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
"type": "git",
|
|
18
18
|
"url": "https://github.com/ninadsutrave/react-fancy-circular-carousel"
|
|
19
19
|
},
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url" : "https://github.com/ninadsutrave/react-fancy-circular-carousel/issues",
|
|
22
|
+
"email" : "ninadsutrave@gmail.com"
|
|
23
|
+
},
|
|
20
24
|
"license": "MIT",
|
|
21
25
|
"devDependencies": {
|
|
22
26
|
"@types/react": "^18.0.28",
|