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

onClick #10

Closed
AustineA opened this issue Jun 17, 2020 · 1 comment · Fixed by #11
Closed

onClick #10

AustineA opened this issue Jun 17, 2020 · 1 comment · Fixed by #11

Comments

@AustineA
Copy link

Please how do i add a click listener to each of the slide.
Here is the structure of my data, i want to be able to click on each of the slide and have it link to different location.

{
    url: require("../../assets/banner.jpg"),
    link: "",
    key: 1,
  }

Thanks in advance

@kimcoder kimcoder linked a pull request Jun 22, 2020 that will close this issue
@kimcoder
Copy link
Owner

@AustineA, Hi!
Thanks for your opinion :)
This feature is published at v1.0.4!
Please, Update your package version !

https://www.npmjs.com/package/react-simple-image-slider/v/1.0.4

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

Successfully merging a pull request may close this issue.

2 participants