2024-04-25 08:56:01 +02:00
|
|
|
<template>
|
2024-07-21 21:17:01 +02:00
|
|
|
<ButtonBase class="enabled:hover:bg-white/20 text-sm !rounded-sm !ring-0 !py-3 sm:!py-1.5 sm:!px-2 !justify-start">
|
2024-06-27 15:03:03 +02:00
|
|
|
<Icon :icon="icon" />
|
2024-04-25 08:56:01 +02:00
|
|
|
<slot />
|
2024-06-21 04:09:09 +02:00
|
|
|
</ButtonBase>
|
2024-04-25 08:56:01 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
|
import type { ButtonHTMLAttributes } from "vue";
|
2024-06-27 15:03:03 +02:00
|
|
|
import ButtonBase from "~/packages/ui/components/buttons/button.vue";
|
|
|
|
|
import Icon from "~/packages/ui/components/icons/icon.vue";
|
2024-04-25 08:56:01 +02:00
|
|
|
|
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>
|