bastodon/app/javascript/mastodon/features/ui/util/optional_motion.js

8 lines
204 B
JavaScript
Raw Normal View History

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