Merge pull request #485 from sk1p/icon-input-value-type

IconInput value type should be string, not array
This commit is contained in:
pathmapper 2019-03-06 07:22:23 +01:00 committed by GitHub
commit 3fa31e2a2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,