RN: Support flexWrap: 'wrap-reverse'

Reviewed By: fkgozali

Differential Revision: D7684403

fbshipit-source-id: 6c247ba86b8ad1bb4dcc8f44f5609c939afe0f06
This commit is contained in:
Tim Yung
2018-04-19 15:42:49 -07:00
committed by Facebook Github Bot
parent 654435d1ed
commit d69e55060f
4 changed files with 9 additions and 3 deletions

View File

@@ -315,6 +315,10 @@ public class LayoutShadowNode extends ReactShadowNodeImpl {
setFlexWrap(YogaWrap.WRAP);
break;
}
case "wrap-reverse": {
setFlexWrap(YogaWrap.WRAP_REVERSE);
break;
}
default: {
throw new JSApplicationIllegalArgumentException(
"invalid value for flexWrap: " + flexWrap);