Import only Spring/Motion from react-motion (#5236)
This commit is contained in:
parent
fd7f0732fe
commit
97b3d0cd56
4 changed files with 8 additions and 4 deletions
|
@ -1,6 +1,7 @@
|
|||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Motion, spring } from 'react-motion';
|
||||
import Motion from 'react-motion/lib/Motion';
|
||||
import spring from 'react-motion/lib/spring';
|
||||
|
||||
export default class Warning extends React.PureComponent {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue