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
ffcc60b793
commit
dd5361b8c4
106 changed files with 11989 additions and 4143 deletions
11
packages/web/hooks/useBreakpoint.ts
Normal file
11
packages/web/hooks/useBreakpoint.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import { createBreakpoint } from 'react-use'
|
||||
|
||||
const useBreakpoint = createBreakpoint({
|
||||
sm: 767,
|
||||
md: 1023,
|
||||
lg: 1279,
|
||||
xl: 1535,
|
||||
'2xl': 1536,
|
||||
}) as () => 'sm' | 'md' | 'lg' | 'xl' | '2xl'
|
||||
|
||||
export default useBreakpoint
|
||||
Loading…
Add table
Add a link
Reference in a new issue