mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
feat: updates
This commit is contained in:
parent
a1b0bcf4d3
commit
884f3df41a
198 changed files with 4572 additions and 5336 deletions
19
packages/web/components/Topbar/SettingsButton.tsx
Normal file
19
packages/web/components/Topbar/SettingsButton.tsx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import Icon from '@/web/components/Icon'
|
||||
import { cx } from '@emotion/css'
|
||||
import toast from 'react-hot-toast'
|
||||
|
||||
const SettingsButton = ({ className }: { className?: string }) => {
|
||||
return (
|
||||
<button
|
||||
onClick={() => toast('开发中')}
|
||||
className={cx(
|
||||
'app-region-no-drag flex h-12 w-12 items-center justify-center rounded-full bg-day-600 text-neutral-500 transition duration-400 dark:bg-white/10 dark:hover:bg-white/20 dark:hover:text-neutral-300',
|
||||
className
|
||||
)}
|
||||
>
|
||||
<Icon name='settings' className='h-5 w-5 ' />
|
||||
</button>
|
||||
)
|
||||
}
|
||||
|
||||
export default SettingsButton
|
||||
Loading…
Add table
Add a link
Reference in a new issue