0.2.0 • Published 5 years ago

react-native-doc-preview v0.2.0

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

react-native-doc-preview

A document previewer for react native.

Installation

$ npm i --save react-native-doc-preview
$ react-native link react-native-doc-preview

Usage

import DocPreview from 'react-native-doc-preview';

export default class App extends Component<{}> {
  render() {
    return (
      <View style={styles.container}>
        <DocPreview
          style={styles.preview}
          filePath={resolveAssetSource(require('./assets/Instruments.pdf')).uri}
        />
      </View>
    );
  }
}
0.2.0

5 years ago

0.1.4

5 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago