mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
12 lines
368 B
Vue
12 lines
368 B
Vue
|
|
<template>
|
||
|
|
<button class="absolute top-1 right-1 p-1 bg-dark-800 text-white text-xs rounded size-6" role="button" tabindex="0"
|
||
|
|
@pointerup="$emit('remove')" @keydown.enter="$emit('remove')">
|
||
|
|
<iconify-icon icon="tabler:x" width="none" class="size-4" />
|
||
|
|
</button>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script lang="ts" setup>
|
||
|
|
defineEmits<{
|
||
|
|
remove: [];
|
||
|
|
}>();
|
||
|
|
</script>
|