Fix broken types in imported library

This commit is contained in:
2025-08-10 23:11:56 -04:00
parent 4402edcfa0
commit 7a31eade87
153 changed files with 171 additions and 150 deletions

32
lib/types/ModalTypes.ts Normal file
View File

@@ -0,0 +1,32 @@
export type ModalBackgroundType = "darken" | "lighten" | "blur" | "darken-blur" | "lighten-blur" | "darken-blur-radial" | "lighten-blur-radial" | "transparent" | "none";
export interface ModalHeaderProps {
onClose?: () => void;
className?: string;
children: React.ReactNode;
}
export interface ModalFooterProps {
className?: string;
children: React.ReactNode;
}
export interface ModalBodyProps {
className?: string;
children: React.ReactNode;
}
export interface ModalProps {
display: boolean;
onClose: () => void;
className?: string;
backgroundType?: ModalBackgroundType;
top?: boolean;
children: React.ReactNode;
}
export interface ModalBackgroundProps {
backgroundType?: ModalBackgroundType;
close: () => void;
}