mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 01:17:22 +00:00
InputBox: extract MenuButton
This commit is contained in:
parent
daa26965cd
commit
674c6c7c51
2 changed files with 18 additions and 8 deletions
15
src/components/Player/InputBox/MenuButton/MenuButton.jsx
Normal file
15
src/components/Player/InputBox/MenuButton/MenuButton.jsx
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import { h } from 'preact'
|
||||
|
||||
import s from './MenuButton.module.scss'
|
||||
|
||||
export default MenuButton = ({ onClick }) => {
|
||||
return (
|
||||
<button
|
||||
aria-label='Menu'
|
||||
className={s.menuButton}
|
||||
onClick={() => setMenuOpen(true)}
|
||||
>
|
||||
=
|
||||
</button>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue