Skip to content

Commit c9f26ad

Browse files
committed
Edit README.md file.
1 parent d071d71 commit c9f26ad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ render() {
9797
| `imageContainerStyle` | The styles object which is added to the Image component. | `Object` | {} |
9898
| `customImageComponent` | Use a custom component to be rendered for the image as long as the component follows the standard interface of the `react-native` `Image` component. | `React.Component` | `Image` module import of react-native |
9999
| `customImageProps` | An object to pass additional properties to the `customImageComponent` | `Object` | |
100-
| `completeCustomComponent` | Custom function to return a fully custom component for each image. `completeCustomComponent({ source: Object, style: { width: number, height: number, margin: number }, data: Object }) => React.Element` This function must return a React Component and it is required to have the source and style for the component to display proper masonry. | `Function` | |
101-
| `renderIndividualHeader` | Custom function that is executed **ABOVE** each individual masonry image. First param is the individual data. This function must return a React Component. | `Function` | |
102-
| `renderIndividualFooter` | Custom function that is executed **BELOW** each individual masonry image. First param is the individual data. This function must return a React Component. | `Function` | |
103-
| `onPressImage` | Custom function that is executed after a single tap on the image. First params is the individual data. | `Function` | |
104-
| `onLongPressImage` | Custom function that is executed after a long press on the image. First params is the individual data. | `Function` | |
100+
| `completeCustomComponent` | Custom function to return a fully custom component for each image. `({ source: Object, style: { width: number, height: number, margin: number }, data: Object }) => React.Element` This function must return a React Component and it is required to have the source and style for the component to display proper masonry. | `Function` | |
101+
| `renderIndividualHeader` | Custom function that is executed **ABOVE** each individual masonry image. `(item: Object, index: number) => ?React.Element` | `Function` | |
102+
| `renderIndividualFooter` | Custom function that is executed **BELOW** each individual masonry image. `(item: Object, index: number) => ?React.Element` | `Function` | |
103+
| `onPressImage` | Custom function that is executed after a single tap on the image. `(item: Object) => void` | `Function` | |
104+
| `onLongPressImage` | Custom function that is executed after a long press on the image. `(item: Object) => void` | `Function` | |
105105
| `masonryFlatListColProps` | Props to be passed to the underlying `FlatList` masonry. See [`FlatList` props...](https://facebook.github.io/react-native/docs/flatlist#props) | `Object` | {} |
106106

107107
<a href="https://luehangs.site"><img src="https://luehangs.site/images/lh-blog-strip.jpg" alt="LH BLOG"/></a>

0 commit comments

Comments
 (0)