SHARE
TWEET

Untitled

a guest Feb 19th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React, {Component} from 'react';
  2. import { BrowserRouter as Router , Link } from 'react-router-dom';
  3. import Route from 'react-router-dom/Route';
  4. import Product from './components/Dashboard/Product';
  5.  
  6. class Routes extends Component {
  7.     render () {
  8.       return (
  9.         <div>
  10.           <Router>
  11.             <div>
  12.               <Route exact path="/dashboard/products" component={Product}/>
  13.             </div>
  14.           </Router>
  15.         </div>
  16.        
  17.       )
  18.     }
  19. }
  20.  
  21. export default Routes;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top