frontend/components/buttons/DropdownElement.vue
Jesse Wierzbinski d1f61dc32d
style: 🎨 Apply Biome
2024-04-24 20:58:17 -10:00

21 lines
499 B
Vue

<template>
<ButtonsBase
class="bg-white/10 hover:bg-white/20 !text-left flex flex-row gap-x-3 !rounded-none !ring-0 !p-4 sm:!p-3">
<Icon :name="icon" class="h-5 w-5 text-gray-200" aria-hidden="true" />
<slot />
</ButtonsBase>
</template>
<script lang="ts" setup>
import type { ButtonHTMLAttributes } from "vue";
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes {}
defineProps<
Props & {
icon: string;
}
>();
</script>
<style></style>