mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 07:08:02 +00:00
15 lines
341 B
Vue
15 lines
341 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes } from 'vue'
|
|
import { cn } from '@/lib/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 />
|
|
</div>
|
|
</template>
|