-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNavigationBar.js
More file actions
48 lines (39 loc) · 1.37 KB
/
NavigationBar.js
File metadata and controls
48 lines (39 loc) · 1.37 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import React from 'react';
import {Navbar,Form,FormControl,Button} from "react-bootstrap";
//import Form from "react-bootstrap/Form";
//import NavDropdown from "react-bootstrap/NavDropdown";
import 'bootstrap/dist/css/bootstrap.min.css';
import {NotificationContainer} from "react-notifications";
import 'react-notifications/lib/notifications.css';
import '../index.css';
//import axios from "axios";
//import server from '../server';
class NavigationBar extends React.Component{
state={
route:''
};
constructor(props){
super(props);
console.log('check for more file upload');
}
componentDidMount() {
}
render() {
return(
<div>
<NotificationContainer/>
<Navbar bg="dark" variant="dark">
<Navbar.Brand href="/home">Local File Server</Navbar.Brand>
<Navbar.Collapse className="justify-content-end">
</Navbar.Collapse>
<Form inline>
<FormControl type="text" placeholder="Search" className=" mr-sm-2" />
<Button type="submit">Search</Button>
<Button variant="danger" type="submit" href="/upload">Upload</Button>
</Form>
</Navbar>
</div>
);
}
}
export default NavigationBar;