1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-20 00:08:37 +00:00
mastodon/app/javascript/flavours/glitch/util/optional_motion.js
2017-12-03 23:26:40 -08:00

6 lines
214 B
JavaScript

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