@types/react-native-share-extension
TypeScript icon, indicating that this package has built-in type declarations

2.0.5 • Public • Published

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

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, 21 Dec 2023 19:06:51 GMT
  • Dependencies: none

Credits

These definitions were written by .

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/react-native-share-extension

      Weekly Downloads

      7

      Version

      2.0.5

      License

      MIT

      Unpacked Size

      3.06 kB

      Total Files

      5

      Last publish

      Collaborators

      • types