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
0b4baa3eff
commit
222fb02355
77 changed files with 654 additions and 551 deletions
19
packages/web/states/uiStates.ts
Normal file
19
packages/web/states/uiStates.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import { proxy } from 'valtio'
|
||||
|
||||
interface UIStates {
|
||||
showLyricPanel: boolean
|
||||
showLoginPanel: boolean
|
||||
hideTopbarBackground: boolean
|
||||
librarySelectedTab: 'playlists' | 'albums' | 'artists' | 'videos'
|
||||
mobileShowPlayingNext: boolean
|
||||
}
|
||||
|
||||
const initUIStates: UIStates = {
|
||||
showLyricPanel: false,
|
||||
showLoginPanel: false,
|
||||
hideTopbarBackground: false,
|
||||
librarySelectedTab: 'playlists',
|
||||
mobileShowPlayingNext: false,
|
||||
}
|
||||
|
||||
export default proxy<UIStates>(initUIStates)
|
||||
Loading…
Add table
Add a link
Reference in a new issue