poc-core-secure-react-native/StatusPoC/CustomDialog.js

10 lines
384 B
JavaScript
Raw Normal View History

2018-12-12 11:16:28 +00:00
/**
* This exposes the native ToastExample module as a JS module. This has a
* function 'show' which takes the following parameters:
*
* 1. String message: A string with the text to toast
* 2. int duration: The duration of the toast. May be ToastExample.SHORT or
* ToastExample.LONG
*/
import {NativeModules} from 'react-native';
module.exports = NativeModules.CustomDialog;