DefinitelyTyped/types/react-native-communications/react-native-communications-tests.ts
2017-07-06 16:05:02 +08:00

17 lines
396 B
TypeScript

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