explorer-app/components/EditButton.vue

22 lines
282 B
Vue
Raw Permalink 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-app-text-grey
text-24px
/>
2023-12-19 18:43:42 +01:00
<slot />
</NuxtLink>
</template>