mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Dont create a spacing object for returning margin, padding, border, and position
Differential Revision: D4050773 fbshipit-source-id: 3fd04c27f887a36875e455b5404a17154ac18f91
This commit is contained in:
committed by
Facebook Github Bot
parent
58b5e28e71
commit
6664b816d7
@@ -59,13 +59,13 @@ public interface CSSNodeAPI<CSSNodeType extends CSSNodeAPI> {
|
||||
void setFlexShrink(float flexShrink);
|
||||
float getFlexBasis();
|
||||
void setFlexBasis(float flexBasis);
|
||||
Spacing getMargin();
|
||||
float getMargin(int spacingType);
|
||||
void setMargin(int spacingType, float margin);
|
||||
Spacing getPadding();
|
||||
float getPadding(int spacingType);
|
||||
void setPadding(int spacingType, float padding);
|
||||
Spacing getBorder();
|
||||
float getBorder(int spacingType);
|
||||
void setBorder(int spacingType, float border);
|
||||
Spacing getPosition();
|
||||
float getPosition(int spacingType);
|
||||
void setPosition(int spacingType, float position);
|
||||
float getStyleWidth();
|
||||
void setStyleWidth(float width);
|
||||
|
||||
Reference in New Issue
Block a user