2015-09-09 06:41:00 -07:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-16 18:24:55 -08:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-09-09 06:41:00 -07:00
|
|
|
*
|
2018-05-10 19:06:46 -07:00
|
|
|
* @format
|
2015-12-01 19:09:01 -08:00
|
|
|
* @noflow
|
2015-09-09 06:41:00 -07:00
|
|
|
*/
|
2018-05-10 19:06:46 -07:00
|
|
|
|
2015-09-09 06:41:00 -07:00
|
|
|
'use strict';
|
|
|
|
|
2018-03-03 15:04:46 -08:00
|
|
|
const warning = require('fbjs/lib/warning');
|
2015-09-11 07:47:34 -07:00
|
|
|
|
2018-03-03 15:04:46 -08:00
|
|
|
const ToastAndroid = {
|
2018-05-10 19:06:46 -07:00
|
|
|
show: function(message: string, duration: number): void {
|
2016-01-26 10:29:47 -08:00
|
|
|
warning(false, 'ToastAndroid is not supported on this platform.');
|
2015-09-11 07:47:34 -07:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = ToastAndroid;
|