import React from "react" ; import { Route } from "react-router" ; export default ( { component : C , props : cProps , ... rest } ) => < Route { ... rest } render = { props => < C { ... props } { ... cProps } />}/ > ;