IconInput value type should be string, not array

This commit is contained in:
Alexander Clausen 2019-01-06 18:07:38 +01:00
parent 98ded98583
commit aa92091d2d

View file

@ -5,7 +5,7 @@ import AutocompleteInput from './AutocompleteInput'
class IconInput extends React.Component {
static propTypes = {
value: PropTypes.array,
value: PropTypes.string,
icons: PropTypes.array,
style: PropTypes.object,
onChange: PropTypes.func.isRequired,