seepur/resources/scripts/applications/home/components/child_avatar.vue

24 lines
502 B
Vue
Raw Normal View History

2020-02-09 15:17:11 +00:00
<template>
<div class="chiled-avatar has-text-centered">
2020-04-12 14:25:42 +00:00
<div class="avatar-badge-image">
2020-03-17 22:16:34 +00:00
<figure class="image is-48x48">
<img :src="child.avatar" alt="Placeholder image" class="is-rounded is-avatar" />
2020-02-09 15:17:11 +00:00
</figure>
</div>
<div class="chiled-avatar-name">{{child.name}}</div>
</div>
</template>
<script lang="ts">
export interface IChildAvatar {
2020-03-17 22:16:34 +00:00
url: string;
2020-02-09 15:17:11 +00:00
name: string;
}
export default {
name: "ChildAvatar",
props: ["child"],
created() {}
};
</script>