Skip to content

Set the first image when opening the light box #259

Answered by ash67
marvthedev asked this question in Q&A
Discussion options

You must be logged in to vote

I think you can add index property to the Lightbox component to open a specific slide when the lightbox opens.

<Lightbox 
  index={thumbnailImageSlideIndex}
  // ...
/>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by igordanchenko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants