mastodon/app/javascript/flavours/glitch/features/ui/util/optional_motion.js
2023-05-28 16:38:10 +02:00

8 lines
211 B
JavaScript

import Motion from 'react-motion/lib/Motion';
import { reduceMotion } from 'flavours/glitch/initial_state';
import ReducedMotion from './reduced_motion';
export default reduceMotion ? ReducedMotion : Motion;