mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-22 15:15:34 +00:00
Abstract away Modal
This commit is contained in:
20
src/components/MailView.vue
Normal file
20
src/components/MailView.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<template>
|
||||
<div>
|
||||
From: {{email.from}}<br>
|
||||
Subject: <strong>{{email.subject}}</strong>
|
||||
<p>{{email.body}}</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
email: {
|
||||
type: Object
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
</style>
|
||||
Reference in New Issue
Block a user