react-select-module
Version:
A Select control built with and for ReactJS
12 lines (9 loc) • 343 B
JavaScript
import React from 'react';
// strip transition props off before spreading onto select component
// note we need to be explicit about innerRef for flow
const AnimatedInput = WrappedComponent => {
return ({ in: inProp, onExited, appear, enter, exit, ...props }) => (
<WrappedComponent {...props} />
);
};
export default AnimatedInput;