react-native-image-viewer
react-native-image-viewer copied to clipboard
Help with renderHeader/Footer props not showing anything
I can't figure out how to use renderHeader and renderFooter. There's no example anywhere of this.
I'm putting these props inside ImageViewer but nothing new is showing. What do I need to fix?
renderHeader={(imageIndex) => <View><Text>asdfd</Text></View>}
renderFooter={(imageIndex) => <View><Text>asdfd</Text></View>}
Try this
renderHeader={(index) => (<View><Text}>Header</Text></View>)}