Files
DefinitelyTyped/types/react-native-communications/react-native-communications-tests.ts

18 lines
396 B
TypeScript

import { phonecall, email, text, textWithoutEncoding, web } from 'react-native-communications';
phonecall('123456789', true);
email();
email(['a@example.com'], null, ['a@example.com'], 'subject', null);
text();
text('123456789');
text('123456789', 'body');
textWithoutEncoding();
textWithoutEncoding('123456789');
textWithoutEncoding('123456789', 'body');
web();
web('https://example.com');