From 1b56b851478803d40105ce63c70e457bd3183da6 Mon Sep 17 00:00:00 2001 From: Piotr Date: Mon, 27 Apr 2020 21:10:39 +0200 Subject: [PATCH] feat: add `ForeignObject` support for react native (#430) --- packages/babel-plugin-transform-react-native-svg/src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/babel-plugin-transform-react-native-svg/src/index.js b/packages/babel-plugin-transform-react-native-svg/src/index.js index 2ec96c6a..39806c0d 100644 --- a/packages/babel-plugin-transform-react-native-svg/src/index.js +++ b/packages/babel-plugin-transform-react-native-svg/src/index.js @@ -21,6 +21,7 @@ const elementToComponent = { stop: 'Stop', mask: 'Mask', image: 'Image', + foreignObject: 'ForeignObject', } const expoPrefix = (component, expo) => {