UNPKG

react-modal-e2z

Version:
58 lines (57 loc) 1.9 kB
import React from "react"; import { IModalAnimateProps } from "./ModalAnimate"; interface IButtonProps { children?: React.ReactNode | string; className?: string; show?: boolean; handleClick?: () => any; } export declare const ModalButton: React.FC<IButtonProps>; export interface IFooterProps { showSplitBorder?: boolean; alignFooter?: "RIGHT" | "CENTER" | "LEFT" | "center" | "right" | "left"; fullButtonMobile?: boolean; disabledClose?: boolean; showCancelButton?: boolean; classNameCancel?: string; labelCancel?: React.ReactNode | string; handleCancel?: () => any; showAcceptButton?: boolean; classNameAccept?: string; labelAccept?: React.ReactNode | string; handleAccept?: () => any; showExtraButton?: boolean; classNameExtra?: string; labelExtra?: React.ReactNode | string; handleExtra?: () => any; } export declare const FooterLayout: React.FC<IFooterProps>; export interface IModalProps extends IFooterProps { children?: React.ReactNode; id?: string; modalId?: string; isOpen: boolean; center?: boolean; className?: string; tabIndex?: number; showHeader?: boolean; showFooter?: boolean; modalTitle?: string | React.ReactNode; modalHeader?: string | React.ReactNode; modalFooter?: string | React.ReactNode; customizeXClose?: string | React.ReactNode; showXClose?: boolean; escapeClose?: boolean; lockBodyScroll?: boolean; outSideClose?: boolean; toggleTitleExpand?: boolean; fullSceen?: boolean; backdropDark?: boolean; animationProps?: IModalAnimateProps; handleToggle?: (toggle?: boolean) => any; handleEscapse?: () => any; handleXClose?: () => any; handleOpen: (isOpen: boolean) => any; } export declare const ModalCloseIcon: () => JSX.Element; export {};