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