explorer-app/components/EditButton.vue

21 lines
257 B
Vue
Raw Normal View History

2023-12-19 18:43:42 +01:00
<script setup lang="ts">
defineProps<{
2024-09-12 18:03:06 +02:00
to?: string
2023-12-19 18:43:42 +01:00
}>()
</script>
<template>
<NuxtLink
:to="to"
flex
gap-12px
target="_blank"
>
<UnoIcon
i-heroicons-solid-pencil
text-24px
/>
2023-12-19 18:43:42 +01:00
<slot />
</NuxtLink>
</template>