kodadot/nft-gallery

View on GitHub
components/common/LoadPreviousPage.vue

Summary

Maintainability
Test Coverage
<template>
  <a
    class="flex justify-center pb-4"
    @click="onClick"
  >
    <NeoIcon icon="chevron-up" />
  </a>
</template>

<script lang="ts" setup>
import { NeoIcon } from '@kodadot1/brick'

const emit = defineEmits(['click'])
const onClick = (event) => {
  emit('click', event)
}
</script>