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:
Valentin Shergin
2017-02-06 20:58:23 -08:00
committed by Facebook Github Bot
parent d73f7d3d5e
commit ec673d0771
14 changed files with 95 additions and 48 deletions

View File

@@ -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
*/