1 /* 2 * Copyright (c) Meta Platforms, Inc. and affiliates. 3 * 4 * This source code is licensed under the MIT license found in the 5 * LICENSE file in the root directory of this source tree. 6 */ 7 8 #import <ABI49_0_0React/ABI49_0_0RCTShadowView.h> 9 #import <ABI49_0_0yoga/ABI49_0_0YGEnums.h> 10 11 @interface ABI49_0_0RCTRootShadowView : ABI49_0_0RCTShadowView 12 13 /** 14 * Minimum size to layout all views. 15 * Defaults to CGSizeZero 16 */ 17 @property (nonatomic, assign) CGSize minimumSize; 18 19 /** 20 * Available size to layout all views. 21 * Defaults to {INFINITY, INFINITY} 22 */ 23 @property (nonatomic, assign) CGSize availableSize; 24 25 /** 26 * Layout direction (LTR or RTL) inherited from native environment and 27 * is using as a base direction value in layout engine. 28 * Defaults to value inferred from current locale. 29 */ 30 @property (nonatomic, assign) ABI49_0_0YGDirection baseDirection; 31 32 - (void)layoutWithAffectedShadowViews:(NSHashTable<ABI49_0_0RCTShadowView *> *)affectedShadowViews; 33 34 @end 35