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

Commit 8162045

Browse files
committed
Minor README.md formatting
1 parent e9ad133 commit 8162045

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,17 @@ export default class App extends React.Component {
9292
| renderHeader | function<br><br>`(currentIndex?: number) => React.ReactElement<any>` | no | Custom header | `() => null` |
9393
| renderFooter | function<br><br>`(currentIndex?: number) => React.ReactElement<any>` | no | Custom footer | `() => null` |
9494
| renderIndicator | function<br><br>`(currentIndex?: number, allSize?) => React.ReactElement<any>`: number | no | Custom indicator | `(currentIndex, allSize) => currentIndex + "/" + allSize` |
95-
| renderImage | function<br><br>`(props: any) => React.ReactElement<any>` | no | Custom image component | `(props) => <Image {...props} /> |
95+
| renderImage | function<br><br>`(props: any) => React.ReactElement<any>` | no | Custom image component | `(props) => <Image {...props} />` |
9696
| renderArrowLeft | function<br><br>`() => React.ReactElement<any>` | no | Custom left arrow | `() => null` |
9797
| renderArrowRight | function<br><br>`() => React.ReactElement<any>` | no | Custom right arrow | `() => null` |
9898
| onSwipeDown | function<br><br>`() => void` | no | Callback for swipe down | `() => null` |
9999
| footerContainerStyle | object<br><br>`{someStyle: someValue}` | no | custom style props for container that will be holding your footer that you pass | `bottom: 0, position: "absolute", zIndex: 9999` |
100100
| backgroundColor | string<br><br>`white` | no | Component background color | `black` |
101-
| enableSwipeDown | boolean | no | Enable swipe down to close image viewer. When swipe down, will trigger onCancel. | false |
101+
| enableSwipeDown | boolean | no | Enable swipe down to close image viewer. When swipe down, will trigger onCancel. | `false` |
102102
| swipeDownThreshold | number | no | Threshold for firing swipe down function | |
103103
| doubleClickInterval | number | no | Double click interval. | |
104-
| pageAnimateTime | number | no | Set the animation time for page flipping. | 100 |
105-
| enablePreload | boolean | no | Preload the next image | false |
104+
| pageAnimateTime | number | no | Set the animation time for page flipping. | `100` |
105+
| enablePreload | boolean | no | Preload the next image | `false` |
106106

107107
## Development pattern
108108

0 commit comments

Comments
 (0)