/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/React/Base/RCTBridgeModuleDecorator.h
35 строк
1 KB
Ruslan Shestopalyuk
Bulk detect/correct (most of the) typos and misspells in RN core code
20 мар 2023, 12:05
20 мар 2023, 12:05
b9c64f3
Код
Авторство
О чём код?
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import "RCTBridgeModule.h" @class RCTBundleManager; @class RCTCallableJSModules; @class RCTModuleRegistry; @class RCTViewRegistry; /** RCTBridgeModuleDecorator contains instances that can be initialized with @synthesize in RCTBridgeModules. For the Fabric interop layer. In Bridgeless, @synthesize ivars are passed from RCTBridgeModuleDecorator. In Bridge, @synthesize ivars are passed from RCTModuleData. */ @interface RCTBridgeModuleDecorator : NSObject @property (nonatomic, strong, readonly) RCTViewRegistry *viewRegistry_DEPRECATED; @property (nonatomic, strong, readonly) RCTModuleRegistry *moduleRegistry; @property (nonatomic, strong, readonly) RCTBundleManager *bundleManager; @property (nonatomic, strong, readonly) RCTCallableJSModules *callableJSModules; - (instancetype)initWithViewRegistry:(RCTViewRegistry *)viewRegistry moduleRegistry:(RCTModuleRegistry *)moduleRegistry bundleManager:(RCTBundleManager *)bundleManager callableJSModules:(RCTCallableJSModules *)callableJSModules; - (void)attachInteropAPIsToModule:(id<RCTBridgeModule>)bridgeModule; @end