1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-14 14:48:55 +09:00
whippy-edition/app/javascript/mastodon/features/ui/util/optional_motion.js
2023-05-23 17:15:17 +02:00

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