refs #6416 feat: VnCardSection
This commit is contained in:
parent
a1414cbefd
commit
147bbb5c44
|
@ -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>
|
Loading…
Reference in New Issue