/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/React/Views/RCTRootShadowView.h
35 строк
972 B
Ramanpreet Nara
ios: Deprecate legacy core components (#53455)
28 авг 2025, 21:13
28 авг 2025, 21:13
5e80d5c
Код
Авторство
О чём код?
/* * 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 <React/RCTShadowView.h> #import <yoga/YGEnums.h> __attribute__((deprecated("This API will be removed along with the legacy architecture."))) @interface RCTRootShadowView : RCTShadowView /** * Minimum size to layout all views. * Defaults to CGSizeZero */ @property (nonatomic, assign) CGSize minimumSize; /** * Available size to layout all views. * Defaults to {INFINITY, INFINITY} */ @property (nonatomic, assign) CGSize availableSize; /** * Layout direction (LTR or RTL) inherited from native environment and * is using as a base direction value in layout engine. * Defaults to value inferred from current locale. */ @property (nonatomic, assign) YGDirection baseDirection; - (void)layoutWithAffectedShadowViews:(NSPointerArray *)affectedShadowViews; @end