mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat: updates
This commit is contained in:
parent
884f3df41a
commit
c6c59b2cd9
84 changed files with 3531 additions and 2616 deletions
|
|
@ -1,13 +1,7 @@
|
|||
import { css, cx } from '@emotion/css'
|
||||
import { ForwardedRef, forwardRef, useRef, useState } from 'react'
|
||||
import Icon from '../Icon'
|
||||
|
||||
export interface ContextMenuItem {
|
||||
type: 'item' | 'submenu' | 'divider'
|
||||
label?: string
|
||||
onClick?: (e: MouseEvent) => void
|
||||
items?: ContextMenuItem[]
|
||||
}
|
||||
import { ContextMenuItem } from './types'
|
||||
|
||||
const MenuItem = ({
|
||||
item,
|
||||
|
|
@ -63,7 +57,7 @@ const MenuItem = ({
|
|||
onSubmenuClose()
|
||||
}}
|
||||
className={cx(
|
||||
'relative',
|
||||
'relative cursor-default',
|
||||
className,
|
||||
css`
|
||||
padding-right: 9px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue