lou-pdf-reader-js
v1.0.3
Published
PDF reader for Expo new SDK
Downloads
10
Maintainers
Readme
Example
import React from 'react'
import { StyleSheet, View } from 'react-native'
import PDFReader from 'rn-pdf-reader-js'
import { Constants } from 'expo'
export default class App extends React.Component {
render() {
return (
<View style={styles.container}>
<PDFReader
source={{
uri: 'http://gahp.net/wp-content/uploads/2017/09/sample.pdf',
}}
/>
</View>
)
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
paddingTop: Constants.statusBarHeight,
backgroundColor: '#ecf0f1',
},
})
Hire an expert!
Looking for a ReactNative freelance expert with more than 12 years experience? Contact me from my website!