chat WIP
This commit is contained in:
27
client/app/components/chat/ChatMessage.vue
Normal file
27
client/app/components/chat/ChatMessage.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<PrimeCard>
|
||||
<template #header>
|
||||
<span class="font-bold">
|
||||
{{ username }}
|
||||
</span>
|
||||
</template>
|
||||
<template #content>
|
||||
{{ message }}
|
||||
</template>
|
||||
<template #footer>
|
||||
{{ createdAt }}
|
||||
</template>
|
||||
</PrimeCard>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
interface Props {
|
||||
username: string
|
||||
message: string
|
||||
createdAt: Date
|
||||
}
|
||||
|
||||
defineProps<Props>()
|
||||
</script>
|
||||
|
||||
<style lang="scss"></style>
|
||||
Reference in New Issue
Block a user