123456789101112131415161718192021222324252627 |
- import React, { Component } from 'react';
- import { Route, Redirect } from "react-router-dom";
- export default ({ component: Component, data, params, ...rest }) =>(
- <Route
- {...rest}
- render= {props =>{
-
-
-
-
- return <Component {...data} {...props} />
-
-
-
-
-
- }}
- />
-
- )
-
-
-
|