about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/ui/util/optional_motion.js
blob: a7fbe6310c94218048ccda70ec05204898c71c5b (plain) (blame)
1
2
3
4
5
import { reduceMotion } from 'flavours/glitch/initial_state';
import ReducedMotion from './reduced_motion';
import Motion from 'react-motion/lib/Motion';

export default reduceMotion ? ReducedMotion : Motion;