mirror of
https://github.com/maputnik/editor.git
synced 2026-01-05 21:10:02 +00:00
Merge pull request #485 from sk1p/icon-input-value-type
IconInput value type should be string, not array
This commit is contained in:
@@ -5,7 +5,7 @@ import AutocompleteInput from './AutocompleteInput'
|
|||||||
|
|
||||||
class IconInput extends React.Component {
|
class IconInput extends React.Component {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
value: PropTypes.array,
|
value: PropTypes.string,
|
||||||
icons: PropTypes.array,
|
icons: PropTypes.array,
|
||||||
style: PropTypes.object,
|
style: PropTypes.object,
|
||||||
onChange: PropTypes.func.isRequired,
|
onChange: PropTypes.func.isRequired,
|
||||||
|
|||||||
Reference in New Issue
Block a user