mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 09:20:36 +01:00
fix(components): allow override of root through ui.root
This commit is contained in:
@@ -142,7 +142,7 @@ const ui = computed(() => progress({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div :class="ui.root({ class: props.class })">
|
||||
<div :class="ui.root({ class: [props.class, props.ui?.root] })">
|
||||
<div v-if="!isIndeterminate && (status || $slots.status)" :class="ui.status({ class: props.ui?.status })" :style="statusStyle">
|
||||
<slot name="status" :percent="percent">
|
||||
{{ percent }}%
|
||||
|
||||
Reference in New Issue
Block a user