mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Implement flex properties in java version as well
Reviewed By: lucasr Differential Revision: D3753231 fbshipit-source-id: ea41d887cd99d1f03d2bc876a2fd7141dbe48320
This commit is contained in:
committed by
Facebook Github Bot 2
parent
993cfa1826
commit
e63a7ea7bd
@@ -54,6 +54,12 @@ public interface CSSNodeAPI<CSSNodeType extends CSSNodeAPI> {
|
||||
void setWrap(CSSWrap flexWrap);
|
||||
float getFlex();
|
||||
void setFlex(float flex);
|
||||
float getFlexGrow();
|
||||
void setFlexGrow(float flexGrow);
|
||||
float getFlexShrink();
|
||||
void setFlexShrink(float flexShrink);
|
||||
float getFlexBasis();
|
||||
void setFlexBasis(float flexBasis);
|
||||
Spacing getMargin();
|
||||
void setMargin(int spacingType, float margin);
|
||||
Spacing getPadding();
|
||||
|
||||
Reference in New Issue
Block a user