<script setup lang="ts">
import { GenericDoc } from "ChillDocStoreAssets/types/generic_doc";

interface GenericDocItemBoxProps {
  genericDoc: GenericDoc;
}

const props = defineProps<GenericDocItemBoxProps>();
</script>

<template>
  <div
    v-if="'html' in props.genericDoc.metadata"
    v-html="props.genericDoc.metadata.html"
  ></div>
</template>

<style scoped lang="scss"></style>
