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
Transform DOM elements into react-native-svg components
<script type="module">
import svgrBabelPluginTransformReactNativeSvg from 'https://cdn.skypack.dev/@svgr/babel-plugin-transform-react-native-svg';
</script>
npm install --save-dev @svgr/babel-plugin-transform-react-native-svg
.babelrc
{
"plugins": ["@svgr/babel-plugin-transform-react-native-svg"]
}
MIT