React PDF viewer

Example: Highlight given keyword in the first render

The keyword option can be a string or a regular expression. The following code will highlight pdf document in the document.

Scroll to page 5 to see it in action!

<div style={{ height: '750px' }}>
        keyword={new RegExp('pdf document', 'i')}

(The sample code)

/ 8
bbcParameters for Opening PDF FilesAdobe® Acrobat® SDK April 2007Version 8.1