mealie/frontend/components/global/BaseCardSectionTitle.vue
Hayden 60908e5a88
Feature/CRF++ and server side locales (#731)
* add universal toast plugin

* add server side locales

* integrate CRF++ into CI/CD Pipeline

* docs(docs): 📝 add recipe parser docs

* feat(backend):  Continued work on ingredient parsers

* add new model dest

* feat(frontend):  New ingredient parser page

* formatting

Co-authored-by: Hayden <hay-kot@pm.me>
2021-10-09 13:08:23 -08:00

32 lines
568 B
Vue

<template>
<v-card color="background" flat class="pb-2">
<v-card-title class="headline py-0">
<v-icon v-if="icon !== ''" left>
{{ icon }}
</v-icon>
{{ title }}
</v-card-title>
<v-card-text class="pt-2">
<p class="pb-0 mb-0">
<slot />
</p>
</v-card-text>
<v-divider class="my-4"></v-divider>
</v-card>
</template>
<script>
export default {
props: {
title: {
type: String,
default: "Place Holder",
},
icon: {
type: String,
default: "",
},
},
};
</script>