pleroma/app/soapbox/features/ui/util/optional_motion.js
2020-05-28 17:56:55 -05:00

5 lines
202 B
JavaScript

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