securityos/node_modules/framer-motion/dist/es/utils/reduced-motion/state.mjs

6 lines
232 B
JavaScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
// Does this device prefer reduced motion? Returns `null` server-side.
const prefersReducedMotion = { current: null };
const hasReducedMotionListener = { current: false };
export { hasReducedMotionListener, prefersReducedMotion };