mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 12:34:17 +00:00
3152e93095
Reviewed By: sahrens Differential Revision: D7117137 fbshipit-source-id: a55a04928a0073a17e0709e851aa8b11678042ba
26 lines
499 B
JavaScript
26 lines
499 B
JavaScript
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @providesModule ToastAndroid
|
|
* @noflow
|
|
*/
|
|
'use strict';
|
|
|
|
const warning = require('fbjs/lib/warning');
|
|
|
|
const ToastAndroid = {
|
|
|
|
show: function (
|
|
message: string,
|
|
duration: number
|
|
): void {
|
|
warning(false, 'ToastAndroid is not supported on this platform.');
|
|
},
|
|
|
|
};
|
|
|
|
module.exports = ToastAndroid;
|