UNPKG

@hhgtech/hhg-components

Version:
17 lines (16 loc) 769 B
import React, { Dispatch, ReactNode, SetStateAction } from 'react'; import { LOCALE, UserInfo } from "../../interfaces/types"; import { ThankyouType } from "./context"; export declare const Component: ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, showThankyou, setShowThankyou, locale, children, showEmpty, setShowEmpty, userInfo, }: { campaign: any; onClose?: () => void; onOtherSubmit?: () => void; onSubmit?: (currentForm: HTMLFormElement, values: Record<string, any>) => void; showThankyou?: ThankyouType; setShowThankyou: any; locale?: LOCALE; children?: ReactNode; showEmpty?: boolean; setShowEmpty?: Dispatch<SetStateAction<boolean>>; userInfo?: UserInfo | null; }) => React.JSX.Element;