import { NavLink } from "react-router";

const Header = () =>{
    return(
        <nav className="header">
            <div className="account-menu">
            <NavLink to="/" end >Главная</NavLink>
            <NavLink to="history" >История</NavLink>
            <NavLink to="login" >Выход</NavLink>
            </div>
        </nav>
    )
}

export default Header;