frontend/app/components/ui/card/CardAction.vue

18 lines
364 B
Vue
Raw Normal View History

<script setup lang="ts">
import type { HTMLAttributes } from "vue";
2025-06-26 22:39:02 +02:00
import { cn } from "@/lib/utils";
const props = defineProps<{
class?: HTMLAttributes["class"];
}>();
</script>
<template>
<div
data-slot="card-action"
:class="cn('col-start-2 row-span-2 row-start-1 self-start justify-self-end', props.class)"
>
<slot />
</div>
</template>