Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ReactModule(val name: String, val canOverrideExistingModule: Boolean = false, val needsEagerInit: Boolean = false, val hasConstants: Boolean = true, val isCxxModule: Boolean = false)

Annotation for use on com.facebook.react.bridge.BaseJavaModules to describe properties for that module.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ReactModuleList(val nativeModules: Array<KClass<out NativeModule>>)

Annotates a function that returns a list of ModuleSpecs from which we get a list of NativeModules to create ReactModuleInfos from.