Move src to dashboard (#152)

This commit is contained in:
Pranav Raj S
2019-10-16 14:36:17 +05:30
committed by GitHub
parent 012a2743f2
commit 2783fb6006
187 changed files with 29 additions and 29 deletions

View File

@@ -0,0 +1,19 @@
<template>
<div class="profile-card">
<div class="profile-image" v-bind:style="{ height: size, width: size }">
<img v-bind:src="src">
</div>
<img class="source-badge" src="../assets/images/fb-badge.png" v-if="badge === 'fb'">
</div>
</template>
<script>
/**
* Thumbnail Component
* Src - source for round image
* Size - Size of the thumbnail
* Badge - Chat source indication { fb / telegram }
*/
export default {
props: ['src', 'size', 'badge'],
};
</script>