diff --git a/src/components/Select/index.js b/src/components/Select/index.js index 0c45ba21..61449ded 100644 --- a/src/components/Select/index.js +++ b/src/components/Select/index.js @@ -1,5 +1,7 @@ import React from 'react'; +import PropTypes from 'prop-types'; import Select from 'react-select'; +import AsyncSelect from 'react-select/lib/Async'; import colors from 'config/colors'; const styles = { @@ -62,10 +64,18 @@ const styles = { }; const SelectWrapper = props => ( - } + ); +SelectWrapper.propTypes = { + isAsync: PropTypes.bool, +}; + +SelectWrapper.defaultProps = { + isAsync: false, +}; + export default SelectWrapper;