1
0
Fork 0
mirror of https://github.com/CorentinTh/it-tools.git synced 2025-07-26 16:49:37 +02:00
it-tools/packages/app/src/modules/ui/components/dialog/DialogHeader.vue
2024-10-27 15:02:54 +01:00

16 lines
338 B
Vue

<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>