Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

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

gregberge44.8mMIT8.1.0TypeScript support: included

Transform DOM elements into react-native-svg components

babel-plugin

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