@atlaskit/motion
Version:
A set of utilities to apply motion in your application.
15 lines (14 loc) • 684 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.prefersReducedMotion = void 0;
var _reduceMotionAsPerUserPreference = require("./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.
*/
var prefersReducedMotion = exports.prefersReducedMotion = function prefersReducedMotion() {
return _reduceMotionAsPerUserPreference.reduceMotionAsPerUserPreference;
};