1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-07-27 09:09:37 +02:00
it-tools/packages/app/src/modules/ui/components/dialog/DialogHeader.vue

17 lines
334 B
Vue
Raw Normal View History

<script setup lang="ts">
import type { HTMLAttributes } from 'vue'
import { cn } from '@/src/modules/shared/style/cn'
const props = defineProps<{
class?: HTMLAttributes['class']
}>()
</script>
<template>
<div
:class="cn('flex flex-col gap-y-1.5 text-center sm:text-left', props.class)"
>
<slot />
</div>
</template>