You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,11 +97,11 @@ render() {
97
97
|`imageContainerStyle`| The styles object which is added to the Image component. |`Object`| {} |
98
98
|`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 |
99
99
|`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`||
105
105
|`masonryFlatListColProps`| Props to be passed to the underlying `FlatList` masonry. See [`FlatList` props...](https://facebook.github.io/react-native/docs/flatlist#props)|`Object`| {} |
0 commit comments