SheetFooter.vue 347 B

12345678910111213141516
  1. <script setup lang="ts">
  2. import type { HTMLAttributes } from "vue"
  3. import { cn } from '@/Packages/Shadcn/Lib/utils'
  4. const props = defineProps<{ class?: HTMLAttributes["class"] }>()
  5. </script>
  6. <template>
  7. <div
  8. data-slot="sheet-footer"
  9. :class="cn('mt-auto flex flex-col gap-2 p-4', props.class)
  10. "
  11. >
  12. <slot />
  13. </div>
  14. </template>