Closed JeremyEllingham closed 5 years ago
Thank you for the excellent library, it's exactly what I was looking for (minus the onClickCallback!). If there's any further improvements necessary in house I'll try generalise them for the library and put in another PR.
@JeremyEllingham I changed the name of the prop to onDocumentClick
- this name is more aligned with React coding standard namings
Will publish new version now
I needed to be able to pass a function that triggers on clicking the PDF itself (and separate from the navigation controls), so here it is for anyone to be able to use.