This is possible in React apps bootstrapped with "create-react-app". create-react-app version 2.0 added a lot of new features. One of the new features is added the svgr webpack loader to wrap SVGs in React components as a named export. This lets you either grab the filename from the default export or grab a wrapped SVG component depending on your needs.
In other words you can do this in react now without any extra "stuff". Syntax:
import { ReactComponent as Logo } from './logo.svg';