13 lines
333 B
Vue
13 lines
333 B
Vue
<script lang="ts" setup>
|
|
import type { Entity } from '@triplit/client';
|
|
import type schema from '#triplit/schema';
|
|
|
|
const props = defineProps<{
|
|
part: Readonly<Entity<typeof schema, 'message_parts'>>;
|
|
}>();
|
|
</script>
|
|
|
|
<template>
|
|
<MarkdownRenderer :finished="part.finished" :id="part.id" :content="part.content" />
|
|
</template>
|