chuckya/app/javascript/flavours/glitch/features/ui/util/optional_motion.js

6 lines
209 B
JavaScript
Raw Normal View History

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