mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 18:00:43 +01:00
fix(SelectCustom): icon name in prop only for now
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user