Define the slots in the Modal.vue

This commit is contained in:
2025-11-20 08:36:36 +01:00
parent 310dd61870
commit 1bbea33c4b

View File

@@ -52,6 +52,13 @@
import { trans, MODAL_ACTION_CLOSE } from "translator";
import { defineProps } from "vue";
defineSlots<{
header?: () => any,
body?: () => any,
footer?: () => any,
"body-head"?: () => any,
}>();
export interface ModalProps {
modalDialogClass?: string | Record<string, boolean>;
hideFooter?: boolean;