Set default getOptionIcon prop to avoid crash when using core select, like in client apps

This commit is contained in:
Andrew Kingston 2021-07-21 14:35:37 +01:00
parent 22c85a2eca
commit 1effdc0e8f
1 changed files with 1 additions and 1 deletions

View File

@ -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