Fiz a parte do router e ele retorna o seguinte erro
TypeError: Cannot read property 'location' of undefined
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import {Router, Route } from 'react-router';
import * as serviceWorker from './serviceWorker';
ReactDOM.render(
(<Router>
<Route path="/" component={<App />}/>
<Route path="/autor"/>
<Route path="/livro"/>
</Router>),
document.getElementById('root'));
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: http://bit.ly/CRA-PWA
serviceWorker.unregister();