mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-08 22:42:05 +08:00
Expose alignContent to java
Reviewed By: IanChilds Differential Revision: D3709071 fbshipit-source-id: 421d75924ecc12d6d0975e342f3862cf5592f65f
This commit is contained in:
committed by
Facebook Github Bot 3
parent
ce2f119222
commit
c2a41e42f2
@@ -319,6 +319,19 @@ public class CSSNode implements CSSNodeAPI<CSSNode> {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public CSSAlign getAlignContent() {
|
||||
return style.alignContent;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAlignContent(CSSAlign alignContent) {
|
||||
if (style.alignContent != alignContent) {
|
||||
style.alignContent = alignContent;
|
||||
dirty();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get this node's position type, as defined by style.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user