You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,11 @@ You decide how many cards will be simultaneously visible depending on screen siz
7
7
Visually you have a left stack of cards, visible cards in the middle, and a right stack.
8
8
9
9
## New in 2.x
10
-
Using stacks instead of sliding cards out of the screen
11
-
Pass children CSS class as props
12
-
Doesn't use react-motion anymore
10
+
11
+
**New in 2.1:** expose stacks parameters
12
+
Using stacks instead of sliding cards out of the screen
13
+
Pass children CSS class as props
14
+
Doesn't use react-motion anymore
13
15
14
16
## Installation
15
17
```bash
@@ -29,12 +31,18 @@ You can know where a card is with the ```getCardOffset``` function in JavaScript
29
31
30
32
Use default navigation arrows with props ```showArrows={true}```
31
33
34
+
You can change the default parameters ```visibleStack``` et ```stackSpace```, which determine how many cards of the stacks are shifted on the sides, and by how many pixels.
0 commit comments