about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/util/optional_motion.js
blob: eecb6634e97949d090e9370004e91adf9cea6802 (plain) (blame)
1
2
3
4
5
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;