Ei kuvausta

RNCWebViewPackage.kt 417B

12345678910111213141516
  1. package com.reactnativecommunity.webview
  2. import com.facebook.react.ReactPackage
  3. import com.facebook.react.bridge.ReactApplicationContext
  4. class RNCWebViewPackage: ReactPackage {
  5. override fun createNativeModules(reactContext: ReactApplicationContext) = listOf(
  6. RNCWebViewModule(reactContext)
  7. )
  8. override fun createViewManagers(reactContext: ReactApplicationContext) = listOf(
  9. RNCWebViewManager()
  10. )
  11. }