fix ToastAndroid
Differential Revision: D2433671 committer: Service User <svcscm@fb.com>
This commit is contained in:
parent
789a07c5a4
commit
d7ee28e079
|
@ -10,4 +10,17 @@
|
|||
*/
|
||||
'use strict';
|
||||
|
||||
module.exports = require('UnimplementedView');
|
||||
var warning = require('warning');
|
||||
|
||||
var ToastAndroid = {
|
||||
|
||||
show: function (
|
||||
message: string,
|
||||
duration: number
|
||||
): void {
|
||||
warning(false, 'Cannot use ToastAndroid on iOS.');
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
module.exports = ToastAndroid;
|
||||
|
|
Loading…
Reference in New Issue