Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 826 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 826 Bytes

@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" />
...

Thanks