mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
19 lines
486 B
Vue
19 lines
486 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>
|