Skip to content

Commit 4a4f087

Browse files
Dorota Kapturkiewiczfacebook-github-bot-8
authored andcommitted
move Toast to oss
Summary: Importing JS changes to fbobjc which should be maintained as a source of truth for React Native JS files. For more details about this change, please refer to the original diff in fbandroid repo: D2410797 Reviewed By: @andreicoman11 Differential Revision: D2424679
1 parent d82af3c commit 4a4f087

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* Copyright (c) 2015-present, Facebook, Inc.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree. An additional grant
7+
* of patent rights can be found in the PATENTS file in the same directory.
8+
*
9+
* @providesModule ToastAndroid
10+
*/
11+
'use strict';
12+
13+
module.exports = require('UnimplementedView');

Libraries/react-native/react-native.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ var ReactNative = Object.assign(Object.create(require('React')), {
3939
TabBarIOS: require('TabBarIOS'),
4040
Text: require('Text'),
4141
TextInput: require('TextInput'),
42+
ToastAndroid: require('ToastAndroid'),
4243
ToolbarAndroid: require('ToolbarAndroid'),
4344
TouchableHighlight: require('TouchableHighlight'),
4445
TouchableNativeFeedback: require('TouchableNativeFeedback'),

0 commit comments

Comments
 (0)