kodadot/nft-gallery

View on GitHub
libs/ui/src/components/NeoAvatar/NeoAvatar.story.vue

Summary

Maintainability
Test Coverage
<template>
  <Story title="NeoAvatar">
    <Variant title="Nft Avatar">
      <NeoAvatar
        :avatar="image"
        :placeholder="image"
        :name="name"
        :size="size"
      />
    </Variant>
  </Story>
</template>

<script lang="ts" setup>
import NeoAvatar from './NeoAvatar.vue'

const image
  = 'https://image-beta.w.kodadot.xyz/ipfs/bafybeigdh3ecetqmzplrjrovs5po23vwpikh2vgtfjai4vky5qzitjzaq4'

const name = 'NFT Avatar'
const size = 70
</script>