mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-06 13:43:59 -05:00
33 lines
736 B
TypeScript
33 lines
736 B
TypeScript
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;
|
|
}
|