UNPKG

@hhgtech/hhg-components

Version:
40 lines (39 loc) 1.63 kB
import React, { Dispatch, SetStateAction } from 'react'; import { LOCALE, UserInfo } from "../../../interfaces/types"; import { LEADGEN_LAYOUT } from "../../LeadGen.helpers"; import { TrackingFormProps } from "../../LeadGen.type"; export declare const LightboxLayout: ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, onUnmount, doImpression, showThankyou, campaignId, campaignCode, campaign_subot_id, locale, showEmpty, setShowEmpty, userInfo, action, campaign, }: { popupId: string; currentLayout: LEADGEN_LAYOUT; extraFields: any; title?: string; imageMobile?: string; imageDesktop?: string; imageOverlayMobile?: string; imageOverlayDesktop?: string; imageBackground?: string; onClose?: (v: TrackingFormProps) => void; onOtherSubmit?: () => void; onSubmit?: (v: TrackingFormProps) => void; onUnmount?: (v: TrackingFormProps) => void; doImpression?: (v: TrackingFormProps) => void; showThankyou?: { title: string; titleAlign?: string; subtitle: string; subtitleAlign?: string; link: string; linkNewTab?: boolean; linkText: string; image?: string; }; campaignId: number; campaignCode: string; campaign_subot_id: number[]; locale?: LOCALE; showEmpty?: boolean; setShowEmpty?: Dispatch<SetStateAction<boolean>>; userInfo?: UserInfo | null; action: string; campaign: any; }) => React.JSX.Element;