overlay reduced motion support
This commit is contained in:
1 parent
bdde0f79c1
commit
fbcf204642
3 files changed
+15
-1
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import useMedia from 'use-media'
|
||||
|
||||
export function useReducedMotion(): boolean {
|
||||
return useMedia('(prefers-reduced-motion: reduce)')
|
||||
}
|
||||
Reference in new issue
Block a user