2.7.6 • Published 4 months ago

@types/react-native-doc-viewer v2.7.6

Weekly downloads
247
License
MIT
Repository
github
Last release
4 months ago

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.

2.7.6

4 months ago

2.7.4

7 months ago

2.7.3

7 months ago

2.7.5

6 months ago

2.7.2

3 years ago

2.7.1

4 years ago

2.7.0

6 years ago

2.4.2

6 years ago

2.4.1

6 years ago

2.4.0

7 years ago