mastodon-glitch/app/javascript/flavours/glitch/util/optional_motion.js

6 lines
214 B
JavaScript
Raw Normal View History

2017-12-04 07:26:40 +00:00
import { reduceMotion } from 'flavours/glitch/util/initial_state';
import ReducedMotion from './reduced_motion';
import Motion from 'react-motion/lib/Motion';
export default reduceMotion ? ReducedMotion : Motion;