chuckya/app/javascript/themes/glitch/util/optional_motion.js

6 lines
212 B
JavaScript
Raw Normal View History

2017-11-18 12:11:18 +09:00
import { reduceMotion } from 'themes/glitch/util/initial_state';
import ReducedMotion from './reduced_motion';
import Motion from 'react-motion/lib/Motion';
export default reduceMotion ? ReducedMotion : Motion;