Skip to content

Commit

Permalink
react-native 0.44.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chandu0101 committed May 1, 2017
1 parent da37aa7 commit c666d06
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/main/scala/sri/mobile/ReactNative.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -32,7 +32,6 @@ trait ReactNative extends ReactUniversal {
val TimerPickerAndroid: TimerPickerAndroid = js.native
val StatusBar: ReactClass = js.native


// apis

val Alert: Alert = js.native
Expand All @@ -49,7 +48,6 @@ trait ReactNative extends ReactUniversal {
// native stuff
val NativeModules: NativeModules = js.native


}

@js.native
Expand All @@ -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

0 comments on commit c666d06

Please sign in to comment.