2016-03-21 13:20:49 +03:00
|
|
|
/**
|
2018-09-12 01:27:47 +03:00
|
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
2016-03-21 13:20:49 +03:00
|
|
|
*
|
2018-02-17 05:24:55 +03:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2016-03-21 13:20:49 +03:00
|
|
|
*/
|
|
|
|
|
2016-11-23 18:47:52 +03:00
|
|
|
#import <React/RCTShadowView.h>
|
2017-02-15 02:23:40 +03:00
|
|
|
#import <yoga/YGEnums.h>
|
2016-03-21 13:20:49 +03:00
|
|
|
|
|
|
|
@interface RCTRootShadowView : RCTShadowView
|
|
|
|
|
|
|
|
/**
|
2017-02-20 10:05:42 +03:00
|
|
|
* Available size to layout all views.
|
|
|
|
* Defaults to {INFINITY, INFINITY}
|
2016-03-21 13:20:49 +03:00
|
|
|
*/
|
2017-02-20 10:05:42 +03:00
|
|
|
@property (nonatomic, assign) CGSize availableSize;
|
2016-03-21 13:20:49 +03:00
|
|
|
|
2017-02-15 02:23:40 +03:00
|
|
|
/**
|
|
|
|
* 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;
|
|
|
|
|
2018-02-12 11:04:16 +03:00
|
|
|
- (void)layoutWithAffectedShadowViews:(NSHashTable<RCTShadowView *> *)affectedShadowViews;
|
2016-03-21 13:20:49 +03:00
|
|
|
|
|
|
|
@end
|