A zoomable, blazing quick, absolutely no dependences, pure indigenous, entered PDF Renderer for Android and also iphone. It makes use of PdfRenderer for Android and also PdfKit for iphone.
Just how to utilize it:
1. Install & & import.
# Thread .$ thread include react-native-pdf-renderer . . # NPM . $ npm i react-native-pdf-renderer
import PdfRendererView from 'react-native-pdf-renderer';
2. Standard use.
const Application = () => > { .. <} > . < PdfRendererView . design ={{backgroundColor: 'black'} . } . resource="/ path/to/file. pdf" distanceBetweenPages= {10} . maxZoom ={ 10} . onPageChange ={( present, overall) = > { . console.log( present, overall); .} } < ./ > . . ); .} . export default Application;
Sneak Peek:
Download And Install Information:
Writer: douglasjunior
Online Demonstration: Sight The Demonstration
Download And Install Web Link: Download And Install The Resource Code
Authorities Internet Site: https://github.com/douglasjunior/react-native-pdf-renderer
Certificate: MIT