@hhgtech/hhg-components
Version:
Hello Health Group common components
19 lines (18 loc) • 548 B
TypeScript
/// <reference types="react" />
import { LOCALE } from "../interfaces/types";
export type LeadGenContextType = {
apiUrl?: string;
siteDomain?: string;
siteId?: string;
locale?: LOCALE;
primaryColor?: string;
forceCampaign?: any;
onClose?: () => void;
onSubmit?: (categoryLevel?: number, categoryData?: {
[k: number]: {
value?: string;
value_en?: string;
};
}) => void;
};
export declare const LeadGenContext: import("react").Context<LeadGenContextType>;