Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .changeset/soft-cards-wave.md

This file was deleted.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @react-native-motion-kit/swipe-deck

## 1.0.2

### Patch Changes

- [#5](https://github.com/react-native-motion-kit/react-native-swipe-deck/pull/5) [`d30d558`](https://github.com/react-native-motion-kit/react-native-swipe-deck/commit/d30d558204d6194e7e035b49d2fd96444d3b8438) Thanks [@saseungmin](https://github.com/saseungmin)! - Lower the minimum `visibleCardCount` to 2 while keeping the default at 3, allowing compact decks to render only the active card and the immediate next card.

```tsx
<SwipeDeck.Root
data={profiles}
getKey={(item) => item.id}
visibleCardCount={2}
>
<SwipeDeck.Card>
{({ item }) => <ProfileCard profile={item} />}
</SwipeDeck.Card>
</SwipeDeck.Root>
```

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-motion-kit/swipe-deck",
"version": "1.0.1",
"version": "1.0.2",
"description": "High-performance Tinder-style swipe deck and swipe cards for React Native, powered by Reanimated and Gesture Handler.",
"keywords": [
"android",
Expand Down