feat: updates

This commit is contained in:
qier222 2022-06-08 00:07:04 +08:00
parent d09c5fd171
commit 133881d287
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
28 changed files with 389 additions and 115 deletions

View file

@ -0,0 +1,8 @@
import useBreakpoint from './useBreakpoint'
const useIsMobile = () => {
const breakpoint = useBreakpoint()
return ['sm', 'md'].includes(breakpoint)
}
export default useIsMobile