Files
self/patches/react-native-svg+15.14.0.patch
Justin Hernandez 2e907bc67c chore: clean up dependencies and bump react-native-svg to 15.14.0 (#1808)
* update lock

* fix package resolutions

* re-add blur

* fix patch
2026-03-03 23:16:10 -08:00

15 lines
1000 B
Diff

diff --git a/node_modules/react-native-svg/common/cpp/react/renderer/components/rnsvg/RNSVGLayoutableShadowNode.cpp b/node_modules/react-native-svg/common/cpp/react/renderer/components/rnsvg/RNSVGLayoutableShadowNode.cpp
index 0000000..0000001 100644
--- a/node_modules/react-native-svg/common/cpp/react/renderer/components/rnsvg/RNSVGLayoutableShadowNode.cpp
+++ b/node_modules/react-native-svg/common/cpp/react/renderer/components/rnsvg/RNSVGLayoutableShadowNode.cpp
@@ -28,7 +28,7 @@
// views in the layout inspector when Yoga attempts to interpret SVG
// properties like width when viewBox scale is set.
auto style = yogaNode_.style();
- style.setDimension(yoga::Dimension::Width, yoga::StyleSizeLength::points(0));
- style.setDimension(yoga::Dimension::Height, yoga::StyleSizeLength::points(0));
+ style.setDimension(yoga::Dimension::Width, yoga::StyleLength::points(0));
+ style.setDimension(yoga::Dimension::Height, yoga::StyleLength::points(0));
yogaNode_.setStyle(style);
}