Skip to content

Commit

Permalink
Create navbar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
naveenbadhan27 committed Jul 20, 2021
1 parent d1d65d2 commit f43ba72
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions react2/src/component/navbar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import React from 'react';
import {Link} from 'react-router-dom';

function Navbar(){
return(
<nav className="navbar navbar-default">
<div className="container-fluid">
<ul className="navbar-nav nav">
<li><Link to='/'>Home</Link></li>
<li><Link to='/About'>About</Link></li>
</ul>
</div>
</nav>
)
}

export default Navbar;

0 comments on commit f43ba72

Please sign in to comment.