v.0.0.6 AlbumCard
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<script setup lang="ts">
|
||||
import type { Album } from "@/types/album";
|
||||
|
||||
defineProps({
|
||||
album: {
|
||||
type: Object as () => Album,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
<template>
|
||||
<div class="card">
|
||||
<p class="font-light">{{ album.id }}</p>
|
||||
<p class="font-light">{{ album.title }}</p>
|
||||
<p class="font-light">{{ album.userId }}</p>
|
||||
</div>
|
||||
</template>
|
||||
<style lang=""></style>
|
||||
Reference in New Issue
Block a user