File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 7
7
</div >
8
8
<Teleport to =" body" >
9
9
<div ref =" modalEl" tabindex =" -1" aria-hidden =" true" class =" hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-full max-h-full" >
10
- <div v-bind =" $attrs" class =" relative p-4 max-w-2xl max-h-full" :class =" $attrs.class?.includes('w-') ? '' : 'w-full'" >
10
+ <div v-bind =" $attrs" class =" relative p-4 max-w-2xl max-h-full" :class =" ( $attrs.class as string) ?.includes('w-') ? '' : 'w-full'" >
11
11
<!-- Modal content -->
12
12
<div class =" relative bg-lightDialogBackgorund rounded-lg shadow-sm dark:bg-darkDialogBackgorund" >
13
13
<!-- Modal header -->
@@ -66,7 +66,7 @@ const modal: Ref<Modal|null> = ref(null);
66
66
interface DialogButton {
67
67
label: string
68
68
onclick: (dialog : any ) => void
69
- type ? : string
69
+ options ? : Record < string , any >
70
70
}
71
71
72
72
interface DialogProps {
You can’t perform that action at this time.
0 commit comments