gab-social/app/javascript/gabsocial/features/ui/util/optional_motion.js

6 lines
202 B
JavaScript
Raw Normal View History

2019-07-02 08:10:25 +01:00
import { reduceMotion } from '../../../initial_state';
import ReducedMotion from './reduced_motion';
import Motion from 'react-motion/lib/Motion';
export default reduceMotion ? ReducedMotion : Motion;