Basic email table

This commit is contained in:
Jeffrey Biles
2020-03-17 11:55:13 -07:00
parent 913092a419
commit b76e20c836
2 changed files with 64 additions and 2 deletions

View File

@@ -0,0 +1,35 @@
<template>
<table>
<thead>
</thead>
<tbody>
<tr v-for="email in emails" :key="email.id">
<td><input type="checkbox" /></td>
<td>{{email.subject}}</td>
<td>{{email.body}}</td>
</tr>
</tbody>
</table>
</template>
<script>
export default {
props: {
emails: {
type: Array,
default: []
}
}
}
</script>
<style scoped>
table {
max-width: 800px;
margin: auto;
}
td {
text-align: left;
}
</style>