fix(components): class should have priority over ui prop

This commit is contained in:
Benjamin Canac
2025-05-07 17:23:27 +02:00
parent a655da1394
commit e6e510b848
39 changed files with 40 additions and 40 deletions

View File

@@ -123,7 +123,7 @@ const ui = computed(() => tv({
v-slot="{ active, ...slotProps }"
:type="type"
:disabled="disabled || isLoading"
:class="ui.base({ class: [props.class, props.ui?.base] })"
:class="ui.base({ class: [props.ui?.base, props.class] })"
v-bind="omit(linkProps, ['type', 'disabled', 'onClick'])"
custom
>