Displaying blob/uploaded documentsSince v1.6.2 you can use documents in the form of blobs, which allows you to e.g. display uploaded files.const DocViewerWithInputApp = () => { const [selectedDocs, setSelectedDocs] = useState<File[]>([]); return ( <> el.target.files?.length && se...
Displaying blob/uploaded documents Since 1.6.2 you can use documents in the form of blobs, which allows you to e.g. display uploaded files. const DocViewerWithInputApp = () => { const [selectedDocs, setSelectedDocs] = useState<File[]>([]); return ( <> el.target.files?.length && ...
Displaying blob/uploaded documents Sincev1.6.2you can use documents in the form of blobs, which allows you to e.g. display uploaded files. constDocViewerWithInputApp=()=>{const[selectedDocs,setSelectedDocs]=useState<File[]>([]);return(<>el.target.files?.length&&setSelectedDocs(Array.from(...
请到三方库的 Releases 发布地址查看配套的版本信息:@react-native-oh-tpl/react-native-doc-viewer Releases 。对于未发布到npm的旧版本,请参考安装指南安装tgz包。 进入到工程目录并输入以下命令: npm npm install @react-native-oh-tpl/react-native-doc-viewer yarn yarn add @react-native-oh-tpl/react-nat...
Installation Usage Required styles Basic Initial Active Document Control over the displayed document Displaying blob/uploaded documents Included Renderers Custom Renderer Custom File Loader Theme Custom pre-fetch HTTP Verb Custom Request Headers Internationalization (i18n) ...
请到三方库的 Releases 发布地址查看配套的版本信息:@react-native-oh-tpl/react-native-doc-viewer Releases,并下载适用版本的 tgz 包。 进入到工程目录并输入以下命令: [!TIP] # 处替换为 tgz 包的路径 npm npm install @react-native-oh-tpl/react-native-doc-viewer@file:# yarn yarn add @react-nati...
Breadcrumbs react-doc-viewer / tsconfig-npm.json Latest commit mattmogford-alcumus Renamed repo and pulled history d5264b8· Aug 25, 2020 HistoryHistory File metadata and controls Code Blame 28 lines (28 loc) · 655 Bytes Raw { "compilerOptions": { "outDir": "./build", "target": "...
Files master RNReactNativeDocViewer Screenshots android example ios windows LICENSE README.md RNReactNativeDocViewer.podspec RNReactNativeDocViewer.sln index.js package.jsonBreadcrumbs react-native-doc-viewer/ LICENSELatest commit Cannot retrieve latest commit at this time. HistoryHistory File metadata ...
Displaying blob/uploaded documents Sincev1.6.2you can use documents in the form of blobs, which allows you to e.g. display uploaded files. constDocViewerWithInputApp=()=>{const[selectedDocs,setSelectedDocs]=useState<File[]>([]);return(<>el.target.files?.length&&setSelectedDocs(Array.from(...
import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, Platform, Button, Alert, ActivityIndicator, NativeAppEventEmitter, DeviceEventEmitter, NativeModules, NativeEventEmitter, TouchableHighlight } from 'react-native'; import OpenFile from 'react-native-doc-viewer';...