UNPKG

@atlaskit/motion

Version:

A set of utilities to apply motion in your application.

8 lines (7 loc) 471 B
import { reduceMotionAsPerUserPreference } from './reduce-motion-as-per-user-preference'; /** * @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-4709 Internal documentation for deprecation (no external access)} * This is not compatible with Compiled CSS and will be removed in the future. * You should hardcode the `prefers-reduced-motion` media query in your file instead. */ export const prefersReducedMotion = () => reduceMotionAsPerUserPreference;