/** * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). * * Do not edit this file as changes may cause incorrect behavior. * * Instead turn on new architecture, make JS spec file changes, re-run codegen (you can trigger that by rebuilding) and copy codegen result here. * * @generated by codegen project: GenerateModuleJavaSpec.js * * @nolint */ package com.reactnativevectoricons.common import com.facebook.proguard.annotations.DoNotStrip import com.facebook.react.bridge.Promise import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.bridge.ReactContextBaseJavaModule import com.facebook.react.bridge.ReactMethod import com.facebook.react.turbomodule.core.interfaces.TurboModule abstract class VectorIconsSpec internal constructor(context: ReactApplicationContext) : ReactContextBaseJavaModule(context) { companion object { const val NAME = "VectorIcons" } override fun getName(): String = NAME @ReactMethod @DoNotStrip abstract fun getImageForFont(fontFamilyName: String, glyph: String, fontSize: Double, color: Double, promise: Promise) @ReactMethod(isBlockingSynchronousMethod = true) @DoNotStrip abstract fun getImageForFontSync(fontFamilyName: String, glyph: String, fontSize: Double, color: Double): String }