something wrong `on onPress()` function
wongkaking opened this issue · comments
As the gif you have seen, onPress()
function did not work
Help me pls
<Carousel delay={2000} style={this.state.carouselSize} autoplay={false} bullets={true} onPress={() => {console.log('-----------------')}} > {images.map(image => ( <Image key={image.url} source={image} style={this.state.carouselSize} /> ))} </Carousel>)
There are no onPress
function Props in the Carousel source code.
It may be the demo code in README.md.