22 lines
417 B
Vue
22 lines
417 B
Vue
<template>
|
|
<div class="token-price-wrapper">
|
|
<div class="token-name small-text">{{ props.name }}</div>
|
|
<div class="token-price sub-header">{{ props.price }}</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
const props = defineProps({
|
|
name: String,
|
|
price: [Number, String],
|
|
});
|
|
</script>
|
|
|
|
<style lang="sass">
|
|
.token-price-wrapper
|
|
display: flex
|
|
flex-direction: column
|
|
gap: 6px
|
|
text-align: left
|
|
</style>
|