react-native-lightbox icon indicating copy to clipboard operation
react-native-lightbox copied to clipboard

i can't use renderContent

Open lighthx opened this issue 9 years ago • 3 comments

i can't use renderContent

lighthx avatar Jan 02 '16 13:01 lighthx

Okay, with what code are you failing?

oblador avatar Jan 02 '16 15:01 oblador

@oblador , i have this problem -getting an error: "_this.props.renderContent is not a function, is an instance of object"

"react": "16.2.0", "react-native": "0.52.0", "react-native-lightbox": "^0.7.0",

renderCarousel = event => ( <Carousel> <Image .... <Image .... <Image .... </Carousel> <Lightbox renderContent={this.renderCarousel(event)} />

vcebotari avatar Feb 01 '18 19:02 vcebotari

@vcebotari did you manage to solve this problem? having the same issue here

lordival avatar Feb 15 '21 07:02 lordival