CardAction.vue 374 B

1234567891011121314151617
  1. <script setup lang="ts">
  2. import type { HTMLAttributes } from "vue"
  3. import { cn } from '@/Packages/Shadcn/Lib/utils'
  4. const props = defineProps<{
  5. class?: HTMLAttributes["class"]
  6. }>()
  7. </script>
  8. <template>
  9. <div
  10. data-slot="card-action"
  11. :class="cn('col-start-2 row-span-2 row-start-1 self-start justify-self-end', props.class)"
  12. >
  13. <slot />
  14. </div>
  15. </template>