1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-02 16:58:45 +09:00
whippy-edition/app/javascript/mastodon/features/ui/util/optional_motion.js

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;