Added the User guide instruction for PageWrapper. This is mostly a copy of the react-pdf user guide.
Allow renderAnnotationLayer prop to be set.
Also including the stylesheet to allow annotations in PDFs as per this doc.
TODO: References show on the page. Sadly the internal link refs are not working. One guess is we might be missing the ref to the page.
Set renderAnnotationLayer and added logging to onGetAnnotationsSuccess callback
https://github.com/allenai/scholar/issues/31029
Added the User guide instruction for PageWrapper. This is mostly a copy of the react-pdf user guide. Allow renderAnnotationLayer prop to be set. Also including the stylesheet to allow annotations in PDFs as per this doc.
TODO: References show on the page. Sadly the internal link refs are not working. One guess is we might be missing the
ref
to the page.Set
renderAnnotationLayer
and added logging toonGetAnnotationsSuccess
callback