payzli-ui-aryan
Version:
A custom react components library
13 lines (12 loc) • 371 B
TypeScript
export interface IModalWrapperProps {
alignment: "left" | "horizontal" | "center";
hideCloseButton?: boolean;
hideFooter?: boolean;
hideHeader?: boolean;
featuredIcon?: string | React.ReactNode;
children: React.ReactNode;
cancelButtonText?: string;
submitButtonText?: string;
handleClose?: () => void;
handleSubmit?: () => void;
}