@svgr/plugin-jsx
Last updated
Was this helpful?
Last updated
Was this helpful?
Transforms SVG into JSX.
.svgrrc
@svgr/plugin-jsx
consists in three phases:
Parsing the SVG code using
Converting the into a
Applying transformations
You can extend the Babel config applied in this plugin using jsx.babelConfig
config path:
Several Babel plugins are available:
MIT
If you want to create your own, reading is a good start!