<script setup lang="ts">
import ChatTimeMarkdown from '../chat-markdown/ChatTimeMarkdown.vue';

defineProps<{
  content: string;
  streaming?: boolean;
}>();
</script>

<template>
  <div class="chat-text-block">
    <ChatTimeMarkdown :content="content" :streaming="streaming" />
  </div>
</template>

<style scoped>
.chat-text-block {
  min-width: 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--el-text-color-primary);
}
</style>
