mirror of
https://github.com/Drop-OSS/drop-base.git
synced 2025-11-09 20:12:16 +10:00
fix: types
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<TransitionRoot as="template" :show="!!open">
|
||||
<TransitionRoot as="template" :show="open">
|
||||
<Dialog class="relative z-50" @close="open = false">
|
||||
<TransitionChild
|
||||
as="template"
|
||||
@ -55,7 +55,7 @@ import {
|
||||
TransitionRoot,
|
||||
} from "@headlessui/vue";
|
||||
|
||||
const open = defineModel<boolean>();
|
||||
const open: Ref<boolean> = defineModel<boolean>() as any;
|
||||
const props = defineProps<{sizeClass?: string}>();
|
||||
|
||||
function close() {
|
||||
|
||||
Reference in New Issue
Block a user