SVG to React Loader
A Webpack Loader to turn SVGs into React Components
Fork from: https://github.com/jhamlet/svg-react-loader, and make it simple.
Installation
npm install svg2react-loader
Usage
var React = ;var Icon = ; moduleexports = React;