Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

something wrong on onPress() function #247

Open
wongkaking opened this issue Dec 19, 2018 · 1 comment
Open

something wrong on onPress() function #247

wongkaking opened this issue Dec 19, 2018 · 1 comment

Comments

@wongkaking
Copy link

rn issue

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>)

@164738777
Copy link

There are no onPress function Props in the Carousel source code.

It may be the demo code in README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants