import Button from 'components/common/Button';
import XMark from 'assets/xmark.svg';
import Bars from 'assets/bars.svg';
import { useState } from 'react';
import styles from './HamburgerButton.module.css';
import MobileMenu from './MobileMenu';
import { FormattedMessage } from 'react-intl';
const menuItems = [
{
label: ,
value: '/dashboard',
},
{ label: , value: '/realtime' },
{ label: , value: '/settings' },
{
label: ,
value: '/settings/profile',
},
{ label: , value: '/logout' },
];
export default function HamburgerButton() {
const [active, setActive] = useState(false);
function handleClick() {
setActive(state => !state);
}
function handleClose() {
setActive(false);
}
return (
<>
: }
onClick={handleClick}
/>
{active && }
>
);
}