v0.9.2
This commit is contained in:
commit
8f8513f802
278 files changed
+18400
No files matched your search
@@ -0,0 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import { safeUrl } from './support';
|
||||
|
||||
defineProps<{ buttons?: { label?: string; url?: string; style?: string }[] }>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<p v-if="buttons && buttons.length" class="mb-buttons">
|
||||
<template v-for="(button, index) in buttons" :key="index">
|
||||
<a v-if="button.label" :class="['mb-btn', button.style === 'secondary' ? 'mb-btn--secondary' : 'mb-btn--primary']" :href="safeUrl(button.url)">{{ button.label }}</a>
|
||||
</template>
|
||||
</p>
|
||||
</template>
|
||||
Reference in new issue
Block a user