Skip to content

Commit 3003281

Browse files
chore(release): version packages (#52)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5e92961 commit 3003281

File tree

3 files changed

+26
-24
lines changed

3 files changed

+26
-24
lines changed

.changeset/giant-wolves-share.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# react-native-gesture-image-viewer
22

3+
## 1.6.0
4+
5+
### Minor Changes
6+
7+
- 5e92961: feat: add loop mode for GestureViewer
8+
9+
- Add `enableLoop` prop for seamless boundary crossing
10+
- Implement `goToNext`/`goToPrevious` with loop animation
11+
- Support both FlatList, FlashList and ScrollView components
12+
13+
Example usage:
14+
15+
```tsx
16+
// New prop
17+
<GestureViewer
18+
enableLoop={true} // Enable loop mode
19+
data={images}
20+
renderItem={renderItem}
21+
/>;
22+
23+
// Enhanced controller methods
24+
const { goToNext, goToPrevious } = useGestureViewerController();
25+
// Now supports loop transitions when enableLoop is true
26+
```
27+
328
## 1.5.1
429

530
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-gesture-image-viewer",
3-
"version": "1.5.1",
3+
"version": "1.6.0",
44
"description": "🖼️ A highly customizable and easy-to-use React Native image viewer with gesture support and external controls",
55
"main": "./lib/module/index.js",
66
"types": "./lib/typescript/src/index.d.ts",

0 commit comments

Comments
 (0)