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

17 lines
338 B
Vue
Raw Normal View History

<script setup lang="ts">
2024-10-27 15:02:54 +01:00
import type { HTMLAttributes } from 'vue';
import { cn } from '@/src/modules/shared/style/cn';
const props = defineProps<{
2024-10-27 15:02:54 +01:00
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>