From c666d06a7763705f834f45aea999b6a607379165 Mon Sep 17 00:00:00 2001 From: chandu0101 Date: Tue, 2 May 2017 04:40:17 +0530 Subject: [PATCH] react-native 0.44.0 --- src/main/scala/sri/mobile/ReactNative.scala | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/main/scala/sri/mobile/ReactNative.scala b/src/main/scala/sri/mobile/ReactNative.scala index a91f218..8665cec 100644 --- a/src/main/scala/sri/mobile/ReactNative.scala +++ b/src/main/scala/sri/mobile/ReactNative.scala @@ -8,11 +8,11 @@ import sri.universal.ReactUniversal import sri.universal.apis._ import scala.scalajs.js +import scala.scalajs.js.annotation.JSImport @js.native trait ReactNative extends ReactUniversal { - //components val DatePickerIOS: ReactClass = js.native val MapView: ReactClass = js.native @@ -32,7 +32,6 @@ trait ReactNative extends ReactUniversal { val TimerPickerAndroid: TimerPickerAndroid = js.native val StatusBar: ReactClass = js.native - // apis val Alert: Alert = js.native @@ -49,7 +48,6 @@ trait ReactNative extends ReactUniversal { // native stuff val NativeModules: NativeModules = js.native - } @js.native @@ -58,7 +56,14 @@ trait ReactPlatForm extends js.Object { val Version: Double = js.native } +@js.native +@JSImport("ReactNativeFeatureFlags", JSImport.Namespace) +object ReactNativeFeatureFlags extends js.Object { + + var useFiber: Boolean = js.native + +} + //@js.native //@JSImport("react-native",JSImport.Namespace) //object ReactNative extends ReactNative -