tuqin
4 天以前 b56e609f59a8de73a54212f00febee228b0fb66a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<script setup lang="ts">
import type { HTMLAttributes } from 'vue';
 
import { cn } from '../../../../../base/shared/src/utils';
 
const props = defineProps<{
  class?: HTMLAttributes['class'];
}>();
</script>
 
<template>
  <div
    data-slot="dialog-header"
    :class="cn('flex flex-col gap-2 text-center sm:text-left', props.class)"
  >
    <slot></slot>
  </div>
</template>