Example of using onSlideChange() function in parent component #333
RyanPaiva56
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For anyone looking to do an onChange type callback the main page, here's how I accomplished it:
In the parent component:
Here's the PhotoSlidesContext component:
Hope this helps! And if there's a better way please let me know :)
Beta Was this translation helpful? Give feedback.
All reactions