Created by: iansu
Use svgr
webpack loader to wrap SVGs in React components as a named export. SVG filenames are still available as the default export.
import logo from './logo.svg'; // gives you the filename
import { ReactComponent as Logo } from './logo.svg'; // gives you a React component <Logo />
Closes #1388 (closed)