mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-23 12:27:44 +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 { trans, MODAL_ACTION_CLOSE } from "translator";
|
||||||
import { defineProps } from "vue";
|
import { defineProps } from "vue";
|
||||||
|
|
||||||
|
defineSlots<{
|
||||||
|
header?: () => any,
|
||||||
|
body?: () => any,
|
||||||
|
footer?: () => any,
|
||||||
|
"body-head"?: () => any,
|
||||||
|
}>();
|
||||||
|
|
||||||
export interface ModalProps {
|
export interface ModalProps {
|
||||||
modalDialogClass?: string | Record<string, boolean>;
|
modalDialogClass?: string | Record<string, boolean>;
|
||||||
hideFooter?: boolean;
|
hideFooter?: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user