mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 07:39:41 +02:00
feat: Offline Shopping List (#3760)
Co-authored-by: boc-the-git <3479092+boc-the-git@users.noreply.github.com>
This commit is contained in:
parent
63a180ef2c
commit
f4827abc1d
14 changed files with 347 additions and 82 deletions
26
frontend/components/global/BannerWarning.vue
Normal file
26
frontend/components/global/BannerWarning.vue
Normal file
|
@ -0,0 +1,26 @@
|
|||
<template>
|
||||
<v-alert border="left" colored-border type="warning" elevation="2" :icon="$globals.icons.alert">
|
||||
<b v-if="title">{{ title }}</b>
|
||||
<div v-if="description">{{ description }}</div>
|
||||
<div v-if="$slots.default" class="py-2">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</v-alert>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
export default {
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: "",
|
||||
},
|
||||
description: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: "",
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue