mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-31 12:17:54 +01:00
fix(Input): wrong type for type prop
This commit is contained in:
@@ -63,7 +63,7 @@ const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponen
|
|||||||
// const size = computed(() => sizeButtonGroup.value || sizeFormGroup.value)
|
// const size = computed(() => sizeButtonGroup.value || sizeFormGroup.value)
|
||||||
|
|
||||||
const ui = computed(() => tv({ extend: input, slots: props.ui })({
|
const ui = computed(() => tv({ extend: input, slots: props.ui })({
|
||||||
type: props.type,
|
type: props.type as InputVariants['type'],
|
||||||
color: color.value,
|
color: color.value,
|
||||||
variant: props.variant,
|
variant: props.variant,
|
||||||
size: size?.value,
|
size: size?.value,
|
||||||
|
|||||||
Reference in New Issue
Block a user