mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 19:30:37 +01:00
fix(components): allow override of root through ui.root
This commit is contained in:
@@ -51,7 +51,7 @@ const ui = computed(() => avatar({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AvatarRoot :class="ui.root({ class: props.class })">
|
||||
<AvatarRoot :class="ui.root({ class: [props.class, props.ui?.root] })">
|
||||
<AvatarImage
|
||||
v-if="src"
|
||||
:as="as"
|
||||
|
||||
Reference in New Issue
Block a user