@get-set/gs-zoom 0.0.1 → 0.0.2
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 +1 -46
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,46 +1 @@
|
|
|
1
|
-
# Get-Set
|
|
2
|
-
|
|
3
|
-
## Description
|
|
4
|
-
|
|
5
|
-
Advanced level React carousel plugin
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
To install this package, run:
|
|
10
|
-
|
|
11
|
-
```html
|
|
12
|
-
npm i @get-set/gs-carousel
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Usage
|
|
16
|
-
|
|
17
|
-
```jsx
|
|
18
|
-
import GSCarousel from '@get-set/gs-carousel';
|
|
19
|
-
|
|
20
|
-
export default function Carousel() {
|
|
21
|
-
return (
|
|
22
|
-
<GSCarousel
|
|
23
|
-
slidesToShow={2}
|
|
24
|
-
slidesToScroll={1}
|
|
25
|
-
gap='2rem'
|
|
26
|
-
focusOnSelect
|
|
27
|
-
autoplay
|
|
28
|
-
>
|
|
29
|
-
<div> //GSCarousel 1-st item
|
|
30
|
-
<img src="image1.jpg" />
|
|
31
|
-
</div>
|
|
32
|
-
<p> //GSCarousel 2-nd item
|
|
33
|
-
<span>text1</span>
|
|
34
|
-
<a>link</a>
|
|
35
|
-
</p>
|
|
36
|
-
<img src="image3.jpg" /> //GSCarousel 3-rd item
|
|
37
|
-
<section> //GSCarousel 4-th item
|
|
38
|
-
<img src="image4.jpg" />
|
|
39
|
-
</section>
|
|
40
|
-
</GSCarousel>
|
|
41
|
-
)
|
|
42
|
-
}
|
|
43
|
-
```
|
|
44
|
-
## Props
|
|
45
|
-
|
|
46
|
-
You can see all properties using jshint
|
|
1
|
+
# Get-Set Zoom
|