@hhgtech/hhg-components
Version:
Hello Health Group common components
18 lines (17 loc) • 818 B
TypeScript
import React, { Dispatch, ReactNode, SetStateAction } from 'react';
import { LOCALE, UserInfo } from "../../interfaces/types";
import { ThankyouType } from "./context";
import { TrackingFormProps } from "../LeadGen.type";
export declare const Component: ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, showThankyou, setShowThankyou, locale, children, showEmpty, setShowEmpty, userInfo, }: {
campaign: any;
onClose?: (params?: TrackingFormProps) => void;
onOtherSubmit?: () => void;
onSubmit?: (params?: TrackingFormProps) => void;
showThankyou?: ThankyouType;
setShowThankyou: any;
locale?: LOCALE;
children?: ReactNode;
showEmpty?: boolean;
setShowEmpty?: Dispatch<SetStateAction<boolean>>;
userInfo?: UserInfo | null;
}) => React.JSX.Element;