react-native-doc-viewer
Version:
React Native Native Module Bridge Quicklock Document Viewer for IOS + Android supports pdf, png, jpg, xls, ppt, doc, docx, pptx, xlx + Video Player mp4 supported
11 lines (9 loc) • 386 B
JavaScript
import { NativeModules } from 'react-native';
const RNReactNativeDocViewer = NativeModules.RNReactNativeDocViewer;
export default {
openDoc: RNReactNativeDocViewer.openDoc,
openDocb64: RNReactNativeDocViewer.openDocb64,
playMovie: RNReactNativeDocViewer.playMovie,
openDocBinaryinUrl:RNReactNativeDocViewer.openDocBinaryinUrl,
testModule: RNReactNativeDocViewer.testModule
}