slinky.vr.AppRegistry.scala Maven / Gradle / Ivy
package slinky.vr
import slinky.core.ReactComponentClass
import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport
@js.native
@JSImport("react-360", "AppRegistry")
object AppRegistry extends js.Object {
def registerComponent(appKey: String, componentProvider: js.Function0[ReactComponentClass[_]]): Unit = js.native
}