<script setup lang="ts">
import { DrawerClose as ShadcnDrawerClose } from '@/components/core/drawer';
import type { UiDrawerCloseProps } from './types';

defineOptions({
  name: 'UiDrawerClose',
});

defineProps<UiDrawerCloseProps>();
</script>

<template>
  <ShadcnDrawerClose :as-child="$props.asChild">
    <slot />
  </ShadcnDrawerClose>
</template>
