mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
Added support of direction style property
Summary: Now layout direction (LTR or LTR) can be specified not only for whole app but also for view subtree via `direction` style property. Reviewed By: mmmulani Differential Revision: D4510206 fbshipit-source-id: 4e56c5886b6e42f2343165eb76be897e681c5ba4
This commit is contained in:
committed by
Facebook Github Bot
parent
d73f7d3d5e
commit
ec673d0771
@@ -146,6 +146,11 @@ typedef void (^RCTApplierBlock)(NSDictionary<NSNumber *, UIView *> *viewRegistry
|
||||
*/
|
||||
@property (nonatomic, assign) NSInteger zIndex;
|
||||
|
||||
/**
|
||||
* Interface direction (LTR or RTL)
|
||||
*/
|
||||
@property (nonatomic, assign) YGDirection direction;
|
||||
|
||||
/**
|
||||
* Clipping properties
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user