nyastodon/app/javascript/mastodon/features/ui/util/optional_motion.js
2023-05-23 17:15:17 +02:00

7 lines
204 B
JavaScript

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