mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-04 17:07:22 +00:00
23 lines
545 B
JavaScript
23 lines
545 B
JavaScript
import { h } from 'preact'
|
|
|
|
import s from './MenuButton.module.scss'
|
|
|
|
export default MenuButton = ({ onClick }) => {
|
|
return (
|
|
<button
|
|
aria-label='Menu'
|
|
className={s.menuButton}
|
|
onClick={onClick}
|
|
>
|
|
<svg
|
|
class={s.menuIcon}
|
|
viewBox='0 0 28 32'
|
|
xmlns='http://www.w3.org/2000/svg'
|
|
>
|
|
<rect x='12' y='4' width='4' height='4'></rect>
|
|
<rect x='12' y='14' width='4' height='4'></rect>
|
|
<rect x='12' y='24' width='4' height='4'></rect>
|
|
</svg>
|
|
</button>
|
|
)
|
|
}
|