2.0.5 • Published 5 months ago

@types/react-native-share-extension v2.0.5

Weekly downloads
130
License
MIT
Repository
github
Last release
5 months ago

Installation

npm install --save @types/react-native-share-extension

Summary

This package contains type definitions for react-native-share-extension (https://github.com/alinz/react-native-share-extension).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-share-extension.

index.d.ts

// Type definitions for react-native-share-extension 2.0
// Project: https://github.com/alinz/react-native-share-extension
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

interface ShareData {
    value: string;
    type: 'text/plain' | 'images/*';
}

interface ShareExtension {
    close(): void;
    data(): Promise<ShareData>;
    openURL(uri: string): void;
}

declare const RNShareExtension: ShareExtension;
export default RNShareExtension;

Additional Details

  • Last updated: Thu, 23 Dec 2021 23:35:40 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by DefinitelyTyped.

2.0.5

5 months ago

2.0.3

7 months ago

2.0.2

8 months ago

2.0.4

6 months ago

2.0.1

2 years ago

2.0.0

4 years ago