@sishuguojixuefu/react-native-office-viewer
v0.0.5
Published
Office Preview Plugin for React Native(support png,pdf,doc,docx,xls,txt...)
Downloads
9
Keywords
Readme
@sishuguojixuefu/react-native-officeapps-wrapper
Install
$ npm install @sishuguojixuefu/react-native-office-viewer
or
$ yarn add @sishuguojixuefu/react-native-office-viewer
Link
$ react-native link react-native-webview
Use
...
import { OfficeViewer } from '@sishuguojixuefu/react-native-office-viewer'
...
<OfficeViewer containerStyle={{ marginTop: 10 }} source="http://storage.xuetangx.com/public_assets/xuetangx/PDF/1.xls" />
...