Displays portable document format files
↓ Import the componentimport {Pdf} from 'react-exo/pdf';
↓ Try the example<Pdf src="https://get.ult.dev/samples/ee.pdf"
width={408}
height={555}
maxZoom={5}
maxPageResolution={2048}
distanceBetweenPages={16}
onPageChange={console.log}
style={undefined}
/>
Technology
Platform | Library | Support | Notes |
---|---|---|---|
Web | MuPDF.js | ✅ | - |
Android | react-native-pdf-renderer | ✅ | - |
iOS | react-native-pdf-renderer | ✅ | - |
MacOS | - | ❌ | - |
Windows | - | ❌ | - |