MenuButton: add svg icon

This commit is contained in:
He4eT 2023-06-03 23:39:45 +03:00
commit 0ad6f7b335
2 changed files with 18 additions and 4 deletions

View file

@ -7,9 +7,15 @@ export default MenuButton = ({ onClick }) => {
<button
aria-label='Menu'
className={s.menuButton}
onClick={() => setMenuOpen(true)}
onClick={onClick}
>
=
<svg
class={s.menuIcon}
viewBox='0 0 24 24'
xmlns='http://www.w3.org/2000/svg'
>
<path d='M10 10h4v4h-4zm0-6h4v4h-4zm0 12h4v4h-4z'/>
</svg>
</button>
)
}