mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
20 lines
505 B
Vue
20 lines
505 B
Vue
<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";
|
|
|
|
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes {}
|
|
|
|
defineProps<
|
|
Props & {
|
|
icon: string;
|
|
}
|
|
>();
|
|
</script>
|
|
|
|
<style></style> |