We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9816cb5 commit 874e059Copy full SHA for 874e059
components/content/Info.vue
@@ -1,5 +1,3 @@
1
<template>
2
- <blockquote class="border-l-4 border-(--secondary)">
3
- <slot />
4
- </blockquote>
5
-</template>
+ <ProseBlockquote><slot /></ProseBlockquote>
+</template>
components/content/ProseBlockquote.vue
@@ -0,0 +1,11 @@
+<script setup lang="ts">
+defineProps({
+ borderColorClass: { type: String, default: 'border-(--secondary)' }
+});
+</script>
6
+
7
+<template>
8
+ <blockquote class="border-l-4" :class="borderColorClass">
9
+ <slot />
10
+ </blockquote>
11
0 commit comments