@atlaskit/motion
Version:
A set of utilities to apply motion in your application.
10 lines (9 loc) • 509 B
JavaScript
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 var prefersReducedMotion = function prefersReducedMotion() {
return reduceMotionAsPerUserPreference;
};