2024-04-25 08:56:01 +02:00
|
|
|
<template>
|
2024-06-05 02:03:15 +02:00
|
|
|
<ButtonsBase class="hover:bg-white/20 !rounded-sm !text-left flex flex-row gap-x-3 !ring-0 !p-4 sm:!p-2">
|
|
|
|
|
<iconify-icon :icon="icon" width="none" class="text-gray-200 size-5" aria-hidden="true" />
|
2024-04-25 08:56:01 +02:00
|
|
|
<slot />
|
|
|
|
|
</ButtonsBase>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import type { ButtonHTMLAttributes } from "vue";
|
|
|
|
|
|
2024-05-12 11:23:38 +02:00
|
|
|
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes {}
|
2024-04-25 08:56:01 +02:00
|
|
|
|
2024-04-25 08:58:17 +02:00
|
|
|
defineProps<
|
|
|
|
|
Props & {
|
|
|
|
|
icon: string;
|
|
|
|
|
}
|
|
|
|
|
>();
|
2024-04-25 08:56:01 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style></style>
|