old_contents: 
  import PropTypes from 'prop-types';
  import React from 'react';
  import { Route } from 'react-router-dom';
  
  export default function RouteWithProps({
  	component: Component,
  	exact, strict, path, ...other,
  }) {
  	return (
  		<Route
  			path={path}
  			exact={exact}
  			strict={strict}
  			render={(matchProps) => <Component {...matchProps} {...other} />}
  		/>
  	);
  }
  
  RouteWithProps.propTypes = {
  	component: PropTypes.func,
  	exact: PropTypes.any,
  	strict: PropTypes.any,
  	path: PropTypes.any,
  };
  
new_contents: import PropTypes from 'prop-types';
  import React from 'react';
  import { Route } from 'react-router-dom';
  
  export default function RouteWithProps({
  	component: Component,
  	exact,
  	strict,
  	path,
  	...other
  }) {
  	return (
  		<Route
  			path={path}
  			exact={exact}
  			strict={strict}
  			render={(matchProps) => <Component {...matchProps} {...other} />}
  		/>
  	);
  }
  
  RouteWithProps.propTypes = {
  	component: PropTypes.func,
  	exact: PropTypes.any,
  	strict: PropTypes.any,
  	path: PropTypes.any,
  };
  
subject: fix RouteWithProps syntax