From 10b8c28ef9ed9b63176d0b0b8a5b5c99fae1c966 Mon Sep 17 00:00:00 2001 From: William Li Date: Mon, 6 Nov 2017 16:06:27 -0800 Subject: [PATCH] Export YellowBox API Allow end users to access the YellowBox API so that warnings can be properly ignored via the API first introduced in a974c140db605ecbdf8d3faa7a079b7e2dcebb09 --- Libraries/react-native/react-native-implementation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/react-native/react-native-implementation.js b/Libraries/react-native/react-native-implementation.js index 88cd864c1e8869..577a896cd7258d 100644 --- a/Libraries/react-native/react-native-implementation.js +++ b/Libraries/react-native/react-native-implementation.js @@ -103,6 +103,7 @@ const ReactNative = { get unstable_batchedUpdates() { return require('ReactNative').unstable_batchedUpdates; }, get Vibration() { return require('Vibration'); }, get VibrationIOS() { return require('VibrationIOS'); }, + get YellowBox() { return require('YellowBox'); }, // Plugins get DeviceEventEmitter() { return require('RCTDeviceEventEmitter'); },