explorer-app/components/EditButton.vue

13 lines
221 B
Vue
Raw Permalink Normal View History

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