@svgr/babel-plugin-transform-react-native-svg

Transform DOM elements into react-native-svg components

Usage no npm install needed!

<script type="module">
  import svgrBabelPluginTransformReactNativeSvg from 'https://cdn.skypack.dev/@svgr/babel-plugin-transform-react-native-svg';
</script>

README

@svgr/babel-plugin-transform-react-native-svg

Install

npm install --save-dev @svgr/babel-plugin-transform-react-native-svg

Usage

.babelrc

{
  "plugins": ["@svgr/babel-plugin-transform-react-native-svg"]
}

License

MIT