mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 06:29:30 -07:00
Format template
This commit is contained in:
@@ -154,7 +154,12 @@ onBeforeUnmount(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="as" ref="containerRef" :class="`inline-block whitespace-pre-wrap tracking-tight ${className}`" v-bind="$attrs">
|
||||
<component
|
||||
:is="as"
|
||||
ref="containerRef"
|
||||
:class="`inline-block whitespace-pre-wrap tracking-tight ${className}`"
|
||||
v-bind="$attrs"
|
||||
>
|
||||
<span class="inline" :style="{ color: getCurrentTextColor() }">
|
||||
{{ displayedText }}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user