import React from 'react' ; type NavbarProps = { account : string | undefined ; } ; const Navbar = ( { account } ) => { return ( < nav className = "navbar navbar-dark fixed-top bg-dark flex-md-nowrap p-0 shadow" > < a className = "navbar-brand col-sm-3 col-md-2 mr-0" href = "http://www.dappuniversity.com/bootcamp" target = "_blank" rel = "noopener noreferrer" > Blockchain Marketplace < /a> < ul className = "navbar-nav px-3" > < li className = "nav-item text-nowrap d-none d-sm-none d-sm-block" > < small className = "text-white" > < span id = "account" > { account } < /span></small > < /li> < /ul> < /nav>); } ; export default Navbar ;