@hhgtech/hhg-components
Version:
Hello Health Group common components
25 lines (24 loc) • 892 B
TypeScript
import React, { ReactNode } from 'react';
import { LOCALE, UserInfo } from "../../types";
import { LeadGenProps } from "../LeadGen.type";
export type LeadGenSubscriptionBoxContainerProps = Pick<LeadGenProps, 'campaign_code' | 'articleId' | 'categoryId' | 'extraValues' | 'apiSsoUrl' | 'onFinish'> & {
apiUrl?: string;
apiSubotUrl?: string;
locale?: LOCALE;
siteId?: string;
siteDomain?: string;
DEBUG_URL?: string;
forceCampaign?: any;
primaryColor?: string;
children?: ReactNode;
extraPayloadValues?: Array<{
key: string;
value: string;
control: string;
}>;
excludeExitRulesHandler?: boolean;
userInfo?: UserInfo | null;
onClose?: () => void;
};
declare const LeadGenSubscriptionBox: (props: LeadGenSubscriptionBoxContainerProps) => React.JSX.Element;
export { LeadGenSubscriptionBox };