import React, { userState, useEffect } from 'react';

import { Layout, Menu, Button } from 'antd';

import { Link } from "react-router-dom";

import './index.less';

const topMenuNoAuth = () => {

    const { Header } = Layout;

    return (
        <Header>
        <Menu mode="horizontal" theme="dark">
          <Menu.Item><Link to="/">Home</Link></Menu.Item>
          <Menu.Item><Link to="/login">Login</Link></Menu.Item>
          <Menu.Item><Link to="/register">Register</Link></Menu.Item>
        </Menu>
      </Header>

    );

}


export default topMenuNoAuth;

