title: next/router: How to access referer from either Router or withRouter?
body: <blockquote>
    <p>import Router, { withRouter } from "next/router";</p>
  </blockquote>
  
  <p>Is it possible to access a referer (previous url value) property from either Router.x or props.router.y?</p>