Set default getOptionIcon prop to avoid crash when using core select, like in client apps
This commit is contained in:
parent
22c85a2eca
commit
1effdc0e8f
|
@ -10,7 +10,7 @@
|
||||||
export let options = []
|
export let options = []
|
||||||
export let getOptionLabel = option => option
|
export let getOptionLabel = option => option
|
||||||
export let getOptionValue = option => option
|
export let getOptionValue = option => option
|
||||||
export let getOptionIcon = null
|
export let getOptionIcon = () => null
|
||||||
export let readonly = false
|
export let readonly = false
|
||||||
export let quiet = false
|
export let quiet = false
|
||||||
export let autoWidth = false
|
export let autoWidth = false
|
||||||
|
|
Loading…
Reference in New Issue