Fabric: Fixed error in parsing `position` style
Summary: This style/prop is called `position` (not `positionType`) in RN/JS API. Reviewed By: mdvacca Differential Revision: D8473509 fbshipit-source-id: f381189e05e6b618f3c74f1bc4610e737981b388
This commit is contained in:
parent
e23a91e67b
commit
3b20a16703
|
@ -53,7 +53,7 @@ static YGStyle convertRawProp(const RawProps &rawProps, const YGStyle &defaultVa
|
|||
yogaStyle.alignContent = convertRawProp(rawProps, "alignContent", defaultValue.alignContent);
|
||||
yogaStyle.alignItems = convertRawProp(rawProps, "alignItems", defaultValue.alignItems);
|
||||
yogaStyle.alignSelf = convertRawProp(rawProps, "alignSelf", defaultValue.alignSelf);
|
||||
yogaStyle.positionType = convertRawProp(rawProps, "positionType", defaultValue.positionType);
|
||||
yogaStyle.positionType = convertRawProp(rawProps, "position", defaultValue.positionType);
|
||||
yogaStyle.flexWrap = convertRawProp(rawProps, "flexWrap", defaultValue.flexWrap);
|
||||
yogaStyle.overflow = convertRawProp(rawProps, "overflow", defaultValue.overflow);
|
||||
yogaStyle.display = convertRawProp(rawProps, "display", defaultValue.display);
|
||||
|
|
Loading…
Reference in New Issue