Installation
npm install --save @types/react-native-communications
Summary
This package contains type definitions for react-native-communications (https://github.com/anarchicknight/react-native-communications).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-communications.
index.d.ts
export function phonecall(phoneNumber: string, isPrompt: boolean): void;
export function email(): void;
export function email(
to: string[] | null,
cc: string[] | null,
bcc: string[] | null,
subject: string | null,
body: string | null,
): void;
export function text(phoneNumber?: string | null, body?: string | null): void;
export function textWithoutEncoding(phoneNumber?: string | null, body?: string | null): void;
export function web(address?: string | null): void;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by HuHuanming, and Paito.