@hhgtech/hhg-components
Version:
Hello Health Group common components
20 lines (19 loc) • 709 B
TypeScript
import React, { CSSProperties } from 'react';
import { SiteType } from "../../../interfaces/types";
export type Props = {
type: 'tail' | 'lead' | 'form' | 'confirm' | 'profile' | 'video';
animationType?: 'slideTop' | 'scaleUp';
closeIcon?: JSX.Element;
isOpen: boolean;
onClose: () => void;
children?: any;
className?: string;
isStaticBackdrop?: boolean;
style?: CSSProperties;
siteType?: SiteType;
};
/**
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
*/
declare const Modal: ({ type, closeIcon, isOpen, onClose, children, className, animationType, isStaticBackdrop, siteType, }: Props) => React.ReactPortal;
export { Modal };