Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. import React, { Component } from 'react'
  2. import { BrowserRouter as Router, Route, Link } from 'react-router-dom'
  3. import CarFinder from './pages/CarFinder/CarFinder'
  4. import './styles/app.scss'
  5.  
  6. export default class App extends Component {
  7. render() {
  8. return (
  9. <div>
  10. <h1 style={{
  11. 'fontSize': '30px',
  12. 'color': 'red',
  13. 'fontFamily': 'Arial',
  14. 'textAlign': 'center'
  15. }}>
  16. Simple React Full Stack
  17. </h1>
  18.  
  19. <Router>
  20. <Route path="/" exact component={CarFinder} />
  21. </Router>
  22. </div>
  23. )
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement