Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Commit 963416e

Browse files
committedMay 12, 2020
Update documentation
1 parent 31298e1 commit 963416e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export default class App extends React.Component {
105105
| doubleClickInterval | number | no | Double click interval. | |
106106
| pageAnimateTime | number | no | Set the animation time for page flipping. | `100` |
107107
| enablePreload | boolean | no | Preload the next image | `false` |
108+
| useNativeDriver | boolean | no | Whether to animate using [`useNativeDriver`](https://reactnative.dev/docs/animations#using-the-native-driver) | `false` |
108109
| menus | function<br><br>`({cancel,saveToLocal}) => React.ReactElement<any>` | no | Custom menus, with 2 methods:`cancel` to hide menus and `saveToLocal` to save image to camera
109110
| menuContext | object<br><br>`{someKey: someValue}` | no | Custom menu context. | `{ saveToLocal: 'save to the album', cancel: 'cancel' }`
110111
## Development pattern

0 commit comments

Comments
 (0)
This repository has been archived.