@svgr/babel-plugin-transform-react-native-svg
Install
npm install --save-dev @svgr/babel-plugin-transform-react-native-svgUsage
.babelrc
{
"plugins": ["@svgr/babel-plugin-transform-react-native-svg"]
}License
MIT
Transform DOM elements into react-native-svg components
npm install --save-dev @svgr/babel-plugin-transform-react-native-svg.babelrc
{
"plugins": ["@svgr/babel-plugin-transform-react-native-svg"]
}MIT