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

Commit 136d556

Browse files
authored
Merge pull request #315 from shawerestart/master
[update] update doc
2 parents 3a395ec + e43b851 commit 136d556

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
@@ -106,6 +106,7 @@ export default class App extends React.Component {
106106
| pageAnimateTime | number | no | Set the animation time for page flipping. | `100` |
107107
| enablePreload | boolean | no | Preload the next image | `false` |
108108
| 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
109+
| menuContext | object<br><br>`{someKey: someValue}` | no | Custom menu context. | `{ saveToLocal: 'save to the album', cancel: 'cancel' }`
109110
## Development pattern
110111

111112
### Step 1, run TS listener

0 commit comments

Comments
 (0)