frontend/components/buttons/primary.vue
2024-04-26 21:04:02 -10:00

19 lines
368 B
Vue

<template>
<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 {}
defineProps<
Props & {
loading?: boolean;
}
>();
</script>
<style></style>