0
0
Fork 0

Import only Spring/Motion from react-motion (#5236)

This commit is contained in:
Nolan Lawson 2017-10-05 18:46:15 -07:00 committed by Eugen Rochko
parent fd7f0732fe
commit 97b3d0cd56
4 changed files with 8 additions and 4 deletions

View file

@ -3,7 +3,8 @@ import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import IconButton from './icon_button';
import Overlay from 'react-overlays/lib/Overlay';
import { Motion, spring } from 'react-motion';
import Motion from 'react-motion/lib/Motion';
import spring from 'react-motion/lib/spring';
import detectPassiveEvents from 'detect-passive-events';
const listenerOptions = detectPassiveEvents.hasSupport ? { passive: true } : false;