frontend/components/buttons/DropdownElement.vue

20 lines
505 B
Vue
Raw Normal View History

<template>
<ButtonsBase class="enabled: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" />
<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:58:17 +02:00
defineProps<
Props & {
icon: string;
}
>();
</script>
<style></style>