Skip to content

Commit 3d511be

Browse files
authored
Merge pull request meliorence#42 from psyanite/master
Minor punctuation and grammar improvements
2 parents 443b63b + ea688a1 commit 3d511be

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
- [Props](#props)
1111
- [Scroll state and events](#scroll-state-and-events)
1212

13-
>This used to be a fork of [ldn0x7dc/react-native-gallery](https://github.com/ldn0x7dc/react-native-gallery) but since the author has stopped maintaining it, here's our own repo. Props to him for his work !
13+
>This used to be a fork of [ldn0x7dc/react-native-gallery](https://github.com/ldn0x7dc/react-native-gallery) but the original repo is no longer maintained, so here's our own repo. Props to [ldn0x7dc](https://github.com/ldn0x7dc) for his amazing work! 👏👏👏
1414
15-
A pure JavaScript image gallery component for react-native apps with common gestures like pan, pinch and doubleTap, supporting both iOS and Android.
15+
A pure JavaScript image gallery component for React Native apps with common gestures like pan, pinch and doubleTap, supporting both iOS and Android.
1616

17-
This component aims to be (one of) the best image viewer for react-native apps. Comparing with other gallery alike components, this one should be more elegant in following aspects: (mimics iOS system photo album app).
17+
This component aims to be the best image viewer for React Native apps, it is far more elegant than other gallery-like components as it features some of the most useful functionalities found in the iOS photo album app such as:
1818

19-
* Gesture handle: besides common pan, pinch and doubleTap, this component does well in targeting foucs point( or pivot) when zoom-in and zoom-out.
20-
* Responder switch: the gesture responder switch is more flexible than any other component, that is, the scrollable container and the wrapped image children perform well in acquiring and releasing gesture responder from/to each other.
19+
* Gesture handling - other than the common pan, pinch and doubleTap gestures, this component also performs efficiently when targeting focus point (also known as pivot) on zoom-in and zoom-out.
20+
* Responder switch - the gesture responder switch is far more flexible than any other component, that is, the scrollable container and the wrapped image children perform well in acquiring and releasing gesture responder from/to each other.
2121

2222
This component utilizes **[@ldn0x7dc/react-native-view-pager](https://github.com/ldn0x7dc/react-native-view-pager)** as the scrollable container and **[react-native-transformable-image](https://github.com/ldn0x7dc/react-native-transformable-image)** as the wrapped image.
2323

@@ -54,9 +54,9 @@ import Gallery from 'react-native-image-gallery';
5454

5555
## Remote and local images
5656

57-
You can now use either a remote image, by specifying `source.uri`, or a local image where `source` is the result of your `require()`.
57+
This component supports both remote images by specifying `source.uri`, and local images where `source` is the result of `require()`.
5858

59-
**Be aware that you need to pass the dimensions of your local images ! It's still not required for remotes images**, although you can still provide their dimensions to prevent the gallery from fetching their height and width online, which can improve the perfs a bit.
59+
**Be aware that the width and height must be defined for local images, but is not required for remote images!** Although the dimensions could still be provided for remote images to save the gallery from fetching them, which could potentially improve performance.
6060

6161
## Props
6262

@@ -73,7 +73,7 @@ Prop | Description | Type | Default
7373
`onPageScroll` | Scroll event, see [scroll state and events](#scroll-state-and-events) | `function`
7474
`scrollViewStyle` | Custom style for the `FlatList` component | `object` | `{}`
7575
`onSingleTapConfirmed` | Fired after a single tap | `function`
76-
`onLongPress` | Fire after a long press | `function`
76+
`onLongPress` | Fired after a long press | `function`
7777

7878
## Scroll state and events
7979

@@ -91,4 +91,4 @@ Prop | Description | Type | Default
9191

9292
* `'idle'`: there is no interaction with the page scroller happening at the time.
9393
* `'dragging'`: there is currently an interaction with the page scroller.
94-
* `'settling'`: there was an interaction with the page scroller, and the page scroller is now finishing it's closing or opening animation.
94+
* `'settling'`: there was an interaction with the page scroller, and the page scroller is now finishing its closing or opening animation.

0 commit comments

Comments
 (0)