<script setup>
const props = defineProps({
  variant: Object,
});
</script>

<template>
  <a
    class="tag fs-12 is-rounded is-primary is-light"
    style="border: 1px solid var(--bulma-primary-90)"
    @click="
      $emit('clickevent', {
        name: 'dataevent',
        data: {
          modal: {
            component: 'imports/IMEIs',
            title: 'IMEIs',
            width: '80%',
            vbind: { variant },
          },
        },
      })
    "
  >
    {{ variant.imei_count }}
  </a>
</template>
