You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
533 B
25 lines
533 B
<template>
|
|
<div class="rounded-[10px]">
|
|
<t-header :list="thList" />
|
|
<hp-row
|
|
v-for="(item, index) in data"
|
|
:key="index"
|
|
:sequence="sequence"
|
|
:values="item"
|
|
:last="index === data.length - 1"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { defineProps } from 'vue'
|
|
|
|
const props = defineProps({
|
|
data: Array as any,
|
|
})
|
|
|
|
const thList = ['Txn Hash', 'From', 'To', 'Date / Time', 'Fee(MBC)']
|
|
const sequence = ['txnHash', 'from', 'to', 'time', 'fee']
|
|
</script>
|
|
|
|
<style scoped></style>
|
|
|