This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/javascript/flavours/glitch/features/ui/util/optional_motion.js

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;