mfg-ui-components
Version:
React UI library with reusable components
24 lines (23 loc) • 953 B
TypeScript
import React from "react";
import "./Modal.scss";
export type width = "small" | "medium" | "large";
export type size = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
export interface Props {
children: any;
buttonText?: any;
width?: width;
headerText?: any;
customClass?: string;
footerChildren?: any;
headingType?: size;
headingId?: string;
mainBtnStyle?: React.CSSProperties;
modalStyle?: React.CSSProperties;
modalBodyStyle?: React.CSSProperties;
modalFooterStyle?: React.CSSProperties;
modalHeaderStyle?: React.CSSProperties;
modalCloseStyle?: React.CSSProperties;
modalContentStyle?: React.CSSProperties;
}
declare const Modal: ({ children, buttonText, width, headerText, customClass, footerChildren, headingType, headingId, mainBtnStyle, modalStyle, modalBodyStyle, modalFooterStyle, modalHeaderStyle, modalCloseStyle }: Props) => import("react/jsx-runtime").JSX.Element;
export default Modal;