mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-31 22:41:42 +08:00
[ReactKit] Remove NativeModulesDeprecated
This commit is contained in:
@@ -115,7 +115,7 @@ function setupTimers() {
|
||||
}
|
||||
|
||||
function setupAlert() {
|
||||
var RCTAlertManager = require('RCTAlertManager');
|
||||
var { RCTAlertManager } = require('NativeModules');
|
||||
if (!GLOBAL.alert) {
|
||||
GLOBAL.alert = function(text) {
|
||||
var alertOpts = {
|
||||
|
||||
Reference in New Issue
Block a user