daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from "react";
  2. import { BrowserRouter as Router, Route, Link } from "react-router-dom";
  3.  
  4. Import Cadastro from './cadastro'
  5.  
  6.  
  7. function AppRouter() {
  8.   return (
  9.     <Router>
  10.       <div>
  11.         <Link to="/cadastro/" className="btn">Cadastre-se</Link>
  12.  
  13.         <Route path="/" exact component={Index} />
  14.         <Route path="/cadastro/" component={Cadastro} />
  15.       </div>
  16.     </Router>
  17.   );
  18. }
  19.  
  20. export default AppRouter;
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