mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-20 19:07:47 +00:00
Define the slots in the Modal.vue
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user