This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
seepur/resources/scripts/applications/home/components/child_avatar.vue
2020-04-12 10:25:42 -04:00

23 lines
502 B
Vue

<template>
<div class="chiled-avatar has-text-centered">
<div class="avatar-badge-image">
<figure class="image is-48x48">
<img :src="child.avatar" alt="Placeholder image" class="is-rounded is-avatar" />
</figure>
</div>
<div class="chiled-avatar-name">{{child.name}}</div>
</div>
</template>
<script lang="ts">
export interface IChildAvatar {
url: string;
name: string;
}
export default {
name: "ChildAvatar",
props: ["child"],
created() {}
};
</script>