-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.jsx
26 lines (21 loc) · 661 Bytes
/
App.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import React, { Component } from 'react'
import { BrowserRouter, Route } from 'react-router-dom'
import Home from './components/Home/Home'
import About from './components/About/About'
import CustomNavbar from './components/CustomNavbar/CustomNavbar'
import CheckAnt from './components/CheckAnt/CheckAnt'
class App extends Component {
render() {
return (
<BrowserRouter>
<div>
<CustomNavbar />
<Route exact path='/' component={Home} />
<Route path='/about' component={About} />
<Route path='/checkant' component={CheckAnt} />
</div>
</BrowserRouter>
);
}
}
export default App;