Files
mobilizon-frontend/src/components/Event/EventBanner.vue
Thomas Citharel 2e72f6faf4 build: switch from yarn to npm to manage js dependencies and move js contents to root
yarn v1 is being deprecated and starts to have some issues

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-14 17:24:42 +01:00

17 lines
356 B
Vue

<template>
<div class="flex justify-center max-h-80">
<lazy-image-wrapper :picture="picture" />
</div>
</template>
<script lang="ts" setup>
import { IMedia } from "@/types/media.model";
import LazyImageWrapper from "../Image/LazyImageWrapper.vue";
withDefaults(
defineProps<{
picture: IMedia | null;
}>(),
{ picture: null }
);
</script>