mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 11:20:36 +01:00
fix(components): allow override of root through ui.root
This commit is contained in:
@@ -64,7 +64,7 @@ const ui = computed(() => chip({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Primitive :as="as" :class="ui.root({ class: props.class })">
|
||||
<Primitive :as="as" :class="ui.root({ class: [props.class, props.ui?.root] })">
|
||||
<slot />
|
||||
|
||||
<span v-if="show" :class="ui.base({ class: props.ui?.base })">
|
||||
|
||||
Reference in New Issue
Block a user