mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 23:19:37 +00:00
18 lines
331 B
Vue
18 lines
331 B
Vue
<script lang="ts" setup>
|
|
import type { HtmlHTMLAttributes } from 'vue'
|
|
import { cn } from '@/lib/utils'
|
|
|
|
const props = defineProps<{
|
|
class?: HtmlHTMLAttributes['class']
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
data-slot="drawer-header"
|
|
:class="cn('flex flex-col gap-1.5 p-4', props.class)"
|
|
>
|
|
<slot />
|
|
</div>
|
|
</template>
|