// @flow import React, { type AbstractComponent } from 'react'; import { type MultiValueProps } from '../components/MultiValue'; import { Collapse } from './transitions'; // strip transition props off before spreading onto actual component const AnimatedMultiValue = ( WrappedComponent: AbstractComponent ): AbstractComponent => { return ({ in: inProp, onExited, ...props }) => ( ); }; export default AnimatedMultiValue;