<script setup lang="ts">
import type { AcfProseFragment } from "#graphql/types";

defineProps<{ prose: AcfProseFragment }>();

const refContent = useTemplateRef("refContent");
useProseLinks(refContent);
</script>

<template>
  <div ref="refContent" class="prose" v-html="prose.content" />
</template>
