refs #6416 feat: VnCardSection

This commit is contained in:
Javier Segarra 2023-11-08 03:00:23 +01:00
parent a1414cbefd
commit 147bbb5c44
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<script setup>
import { useI18n } from 'vue-i18n';
const $props = defineProps({
title: { type: String, require: true, default: 'twoFactor.validate' },
});
const { t } = useI18n();
</script>
<template>
<QCardSection class="q-pa-none">
<a class="header">
{{ t($props.title) }}
</a>
<slot name="btn"></slot>
</QCardSection>
</template>
<style lang="scss" scoped></style>