1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-15 07:08:58 +09:00
whippy-edition/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;