2.7.6 • Published 4 months ago
@types/react-native-doc-viewer v2.7.6
Installation
npm install --save @types/react-native-doc-viewer
Summary
This package contains type definitions for react-native-doc-viewer (https://github.com/philipphecht/react-native-doc-viewer/blob/master/README.md).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-doc-viewer.
index.d.ts
// Type definitions for react-native-doc-viewer 2.7
// Project: https://github.com/philipphecht/react-native-doc-viewer/blob/master/README.md
// Definitions by: Kyle Roach <https://github.com/iRoachie>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
export function openDoc(
files: Array<{
url: string;
fileName?: string | undefined,
fileNameOptional?: string | undefined,
cache?: boolean | undefined,
fileType?: string | undefined
}>,
callback: (error: string, url: string) => void
): void;
export function openDocb64(
files: Array<{ base64: string; fileName?: string | undefined; fileType?: string | undefined }>,
callback: (error: string, url: string) => void
): void;
export function openDocBinaryinUrl(
files: Array<{ url: string; fileName?: string | undefined; fileType?: string | undefined }>,
callback: (error: string, url: string) => void
): void;
export function playMovie(
path: string,
callback: (error: string, url: string) => void
): void;
Additional Details
- Last updated: Thu, 08 Jul 2021 20:21:02 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Kyle Roach.