/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop/RCTLegacyViewManagerInteropComponentView.h
32 строки
895 B
Riccardo Cipolleschi
Make the `addUIBlock`'s Dictionary works correctly (#43060)
16 фев 2024, 20:39
16 фев 2024, 20:39
f61f87c
Код
Авторство
О чём код?
/* * 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 <UIKit/UIKit.h> #import <React/RCTViewComponentView.h> NS_ASSUME_NONNULL_BEGIN @interface RCTLegacyViewManagerInteropComponentView : RCTViewComponentView /** Returns true for components that are supported by LegacyViewManagerInterop layer, false otherwise. */ + (BOOL)isSupported:(NSString *)componentName; + (void)supportLegacyViewManagerWithName:(NSString *)componentName; + (void)supportLegacyViewManagersWithPrefix:(NSString *)prefix; /** * This method is required for addUIBlock and to let the infra bypass the interop layer * when providing views from the RCTUIManager. The interop layer should be transparent to the users. */ - (UIView *)paperView; @end NS_ASSUME_NONNULL_END