import BsModal from "react-bootstrap/Modal"; import ModalHeader from "./ModalHeader"; import ModalTitle from "./ModalTitle"; import ModalButton from "./button"; import ModalAttention from "./attention"; import type { IModalProps } from "./Modal.types"; import type { BsPrefixRefForwardingComponent } from "react-bootstrap/helpers"; declare type IModalWrapper = BsPrefixRefForwardingComponent<"div", IModalProps>; export interface IModal extends IModalWrapper { Header: typeof ModalHeader; Dialog: typeof BsModal.Dialog; Title: typeof ModalTitle; Body: typeof BsModal.Body; Footer: typeof BsModal.Footer; Button: typeof ModalButton; Attention: typeof ModalAttention; } export declare const Modal: IModal; export type { IModalTitleProps, IModalHeaderProps, IModalDialogProps, IModalBodyProps, IModalFooterProps, IModalButtonProps, IModalAttentionProps, } from "./Modal.types"; export type { IModalProps }; export default Modal;