future41-funnel-ui
Version:
Exact Future41 funnel widgets for React (extracted UI)
80 lines (64 loc) • 2.44 kB
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import React from 'react';
declare global {
interface Window {
Vimeo?: {
Player: any;
};
}
}
declare const HeroSection: () => react_jsx_runtime.JSX.Element;
declare const WhatsAppWidget: () => react_jsx_runtime.JSX.Element;
declare const HeroForm: () => react_jsx_runtime.JSX.Element;
interface NameEmailInlineFormProps {
phoneNumber: string;
onComplete: () => void;
showCountdown?: boolean;
countdown?: number;
}
declare const NameEmailInlineForm: ({ phoneNumber, onComplete, showCountdown, countdown }: NameEmailInlineFormProps) => react_jsx_runtime.JSX.Element;
declare const ActionButtons: () => react_jsx_runtime.JSX.Element;
declare const Header: () => react_jsx_runtime.JSX.Element;
declare const Footer: () => react_jsx_runtime.JSX.Element;
declare const Testimonials: () => react_jsx_runtime.JSX.Element;
declare const FAQ: () => react_jsx_runtime.JSX.Element;
declare const TrustBadges: () => react_jsx_runtime.JSX.Element;
declare const StickyMinimizedForm: () => react_jsx_runtime.JSX.Element;
declare const StickyMobileCTA: () => react_jsx_runtime.JSX.Element;
declare const PhoneForm: () => react_jsx_runtime.JSX.Element;
type CountryCodeOption = {
value: string;
label: string;
};
type FieldLabels = {
name?: string;
phone?: string;
email?: string;
message?: string;
antispam?: string;
submit?: string;
};
type Placeholders = {
name?: string;
phone?: string;
email?: string;
message?: string;
antispam?: string;
};
type GHLContactFormProps = {
endpointUrl: string;
headers?: Record<string, string>;
initialCountryCode?: string;
countryCodes?: CountryCodeOption[];
labels?: FieldLabels;
placeholders?: Placeholders;
requireAntispam?: boolean;
antispamQuestion?: string;
antispamAnswer?: string;
onSuccess?: (responseJson: unknown) => void;
onError?: (error: Error) => void;
onSubmittingChange?: (isSubmitting: boolean) => void;
className?: string;
};
declare const GHLContactForm: React.FC<GHLContactFormProps>;
export { ActionButtons, type CountryCodeOption, FAQ, type FieldLabels, Footer, GHLContactForm, type GHLContactFormProps, Header, HeroForm, HeroSection, NameEmailInlineForm, PhoneForm, type Placeholders, StickyMinimizedForm, StickyMobileCTA, Testimonials, TrustBadges, WhatsAppWidget };