package com.eslamelmeniawy.reactnativecommoncomponents import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.module.annotations.ReactModule @ReactModule(name = ReactNativeCommonComponentsModule.NAME) class ReactNativeCommonComponentsModule(reactContext: ReactApplicationContext) : NativeReactNativeCommonComponentsSpec(reactContext) { override fun getName(): String { return NAME } // Example method // See https://reactnative.dev/docs/native-modules-android override fun multiply(a: Double, b: Double): Double { return a * b } companion object { const val NAME = "ReactNativeCommonComponents" } }