frontend/components/buttons/primary.vue

19 lines
368 B
Vue
Raw Normal View History

<template>
2024-04-27 09:04:02 +02:00
<ButtonsBase :loading="loading" class="bg-pink-500 hover:bg-pink-400">
<slot />
</ButtonsBase>
</template>
<script lang="ts" setup>
import type { ButtonHTMLAttributes } from "vue";
interface Props extends /* @vue-ignore */ ButtonHTMLAttributes {}
2024-04-27 09:04:02 +02:00
defineProps<
Props & {
loading?: boolean;
}
>();
</script>
<style></style>