26 lines
434 B
Vue
26 lines
434 B
Vue
<template>
|
|
<div class="token-logo">
|
|
<img :src="props.img" :alt="props.alt" />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
const props = defineProps({
|
|
img: String,
|
|
alt: Number,
|
|
});
|
|
</script>
|
|
|
|
<style lang="sass">
|
|
.token-logo
|
|
height: 100%
|
|
img
|
|
width: 45px
|
|
height: 45px
|
|
border-radius: 50%
|
|
pointer-events: none
|
|
@media (min-width: 992px)
|
|
width: auto
|
|
height: 100%
|
|
</style>
|