fix(SelectCustom): icon name in prop only for now

This commit is contained in:
Benjamin Canac
2022-07-02 00:33:05 +02:00
parent 6da0c28019
commit 2e64343610
2 changed files with 1 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ const props = defineProps({
}, },
icon: { icon: {
type: String, type: String,
default: () => $ui.selectCustom.icon default: () => 'heroicons-solid:selector'
}, },
iconBaseClass: { iconBaseClass: {
type: String, type: String,

View File

@@ -189,7 +189,6 @@ export default (variantColors: string[]) => {
const selectCustom = { const selectCustom = {
...select, ...select,
base: `${select.base} text-left cursor-default`, base: `${select.base} text-left cursor-default`,
icon: 'heroicons-solid:selector',
list: { list: {
container: 'absolute z-10 mt-1 w-full py-1 max-h-60 overflow-auto', container: 'absolute z-10 mt-1 w-full py-1 max-h-60 overflow-auto',
base: 'u-bg-white shadow-lg rounded-md ring-1 u-ring-gray-200 focus:outline-none', base: 'u-bg-white shadow-lg rounded-md ring-1 u-ring-gray-200 focus:outline-none',