24 lines
749 B
Vue
24 lines
749 B
Vue
<script setup lang="ts">
|
|
const props = defineProps({
|
|
title: String,
|
|
hideaction: Boolean
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<!-- -------------------------------------------------------------------- -->
|
|
<!-- Card with Header & Footer -->
|
|
<!-- -------------------------------------------------------------------- -->
|
|
<v-card variant="outlined" elevation="0" class=" mb-6 overflow-hidden">
|
|
<v-card-item>
|
|
<v-card-title class="text-18">{{ title }}</v-card-title>
|
|
</v-card-item>
|
|
<v-divider></v-divider>
|
|
<slot />
|
|
<v-divider></v-divider>
|
|
<v-card-actions :class="`${hideaction ? 'd-none' : ''}`">
|
|
<slot name="footer" />
|
|
</v-card-actions>
|
|
</v-card>
|
|
</template>
|