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

@@ -163,7 +163,7 @@ defineExpose({
</script>
<template>
<Primitive :as="as" :class="ui.root({ class: [props.class, props.ui?.root] })">
<Primitive :as="as" :class="ui.root({ class: [props.ui?.root, props.class] })">
<input
:id="id"
ref="inputRef"