diff --git a/change/react-native-windows-d091bbc2-5182-4197-8bda-cf9090b70828.json b/change/react-native-windows-d091bbc2-5182-4197-8bda-cf9090b70828.json deleted file mode 100644 index 4a88aa5517c..00000000000 --- a/change/react-native-windows-d091bbc2-5182-4197-8bda-cf9090b70828.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "type": "patch", - "comment": "Implement rowGap, columnGap and gap flex properties (#10969)", - "packageName": "react-native-windows", - "email": "26607885+chrisglein@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change/react-native-windows-f38f4c47-02e7-46e1-95d1-7a663b14c509.json b/change/react-native-windows-f38f4c47-02e7-46e1-95d1-7a663b14c509.json new file mode 100644 index 00000000000..7c2f2ccb2c8 --- /dev/null +++ b/change/react-native-windows-f38f4c47-02e7-46e1-95d1-7a663b14c509.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Revert \"Implement rowGap, columnGap and gap flex properties (#10969)\"", + "packageName": "react-native-windows", + "email": "jthysell@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/vnext/Microsoft.ReactNative/Modules/NativeUIManager.cpp b/vnext/Microsoft.ReactNative/Modules/NativeUIManager.cpp index 4233e8f8748..fdfcb5bbf8e 100644 --- a/vnext/Microsoft.ReactNative/Modules/NativeUIManager.cpp +++ b/vnext/Microsoft.ReactNative/Modules/NativeUIManager.cpp @@ -626,15 +626,6 @@ static void StyleYogaNode( YGValue result = YGValueOrDefault(value, YGValue{YGUndefined, YGUnitPoint} /*default*/, shadowNode, key); SetYogaUnitValueHelper(yogaNode, result, YGNodeStyleSetMaxHeight, YGNodeStyleSetMaxHeightPercent); - } else if (key == "rowGap") { - float result = NumberOrDefault(value, 0.0f /*default*/); - YGNodeStyleSetGap(yogaNode, YGGutterRow, result); - } else if (key == "columnGap") { - float result = NumberOrDefault(value, 0.0f /*default*/); - YGNodeStyleSetGap(yogaNode, YGGutterColumn, result); - } else if (key == "gap") { - float result = NumberOrDefault(value, 0.0f /*default*/); - YGNodeStyleSetGap(yogaNode, YGGutterAll, result); } else if (key == "margin") { YGValue result = YGValueOrDefault(value, YGValue{YGUndefined, YGUnitPoint} /*default*/, shadowNode, key);