Skip to content

Commit 6f62345

Browse files
committed
docs: add disableSwipe prop
1 parent 3f12579 commit 6f62345

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ const MyGallery = () => {
139139
| `images` | `Array` | (**Required**) array of objects. Every image must have a `url` (required), a thumbUrl (optional) and id (optional) and any other info you need |
140140
| `resizeMode` | `string` | React Native Image component [resizeMode](https://reactnative.dev/docs/image#resizemode) defaults to `contain`, used on images |
141141
| `close` | `Func` | (**Required**) function to close the gallery image |
142+
| `disableSwipe` | `Boolean` | Disables the swipe gesture. |
142143
| `initialIndex` | `Number` | Initial index of image to snap when opening the gallery |
143144
| `thumbSize` | `Number` | Height and width of the thumb, defaults to `48` |
144145
| `thumbColor` | `string` | Outline color of selected thumb, defaults to `#d9b44a` |

0 commit comments

Comments
 (0)