Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, { Component } from 'react'
- import { BrowserRouter as Router, Route, Link } from 'react-router-dom'
- import CarFinder from './pages/CarFinder/CarFinder'
- import './styles/app.scss'
- export default class App extends Component {
- render() {
- return (
- <div>
- <h1 style={{
- 'fontSize': '30px',
- 'color': 'red',
- 'fontFamily': 'Arial',
- 'textAlign': 'center'
- }}>
- Simple React Full Stack
- </h1>
- <Router>
- <Route path="/" exact component={CarFinder} />
- </Router>
- </div>
- )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement