[improvement] ImagePreview: add loop prop (#2103)

This commit is contained in:
neverland
2018-11-18 10:03:45 +08:00
committed by GitHub
parent 10f0604ad0
commit 0dbf1c5ee2
4 changed files with 11 additions and 3 deletions
+1
View File
@@ -53,4 +53,5 @@ setTimeout(() => {
| startPosition | Start position | `Number` | `0` |
| showIndex | Whether to show index | `Boolean` | `true` |
| showIndicators | Whether to show indicators | `Boolean` | `false` |
| loop | Whether to enable loop | `Boolean` | `true` |
| onClose | Close callback | `Function` | - |