text: import React from 'react';
  import { Link } from 'react-router-dom';
  import { Layout, Menu } from 'antd';
  
  const { Header } = Layout;
  
  export const PageHeader = (props) => {
    const currentPath = props.currentPath;
    return (
      <Layout className='layout'>
        <Header>
          <div className='logo' />
          <Menu
            theme='dark'
            mode='horizontal'
            defaultSelectedKeys={[currentPath]}
          >
            <Menu.Item key='/void'>
              <Link to='/'>Void Invoices</Link>
            </Menu.Item>
            <Menu.Item key='/about'>
              <Link to='/about'>About</Link>
            </Menu.Item>
            <Menu.Item key='/help'>
              <Link to='/help'>Help</Link>
            </Menu.Item>
          </Menu>
        </Header>
      </Layout>
    );
  };
  