tootlab-mastodon/app/javascript/mastodon/features/ui/util/optional_motion.js
2017-11-17 19:29:16 -08:00

6 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;