feat(SelectMenu): allows to customize labels (#2266)

This commit is contained in:
Eder Soares
2024-10-31 11:17:08 -03:00
committed by GitHub
parent 09e232ed05
commit 54e713d31a
3 changed files with 19 additions and 6 deletions

View File

@@ -23,7 +23,16 @@ export default {
default: {
selectedIcon: 'i-heroicons-check-20-solid',
clearSearchOnClose: false,
showCreateOptionWhen: 'empty'
showCreateOptionWhen: 'empty',
searchablePlaceholder: {
label: 'Search...'
},
empty: {
label: 'No options.'
},
optionEmpty: {
label: 'No results for "{query}".'
}
},
arrow: {
...arrow,