@hhgtech/hhg-components
Version:
Hello Health Group common components
21 lines (20 loc) • 790 B
TypeScript
import React, { CSSProperties } from 'react';
type LeadGenThankYouItem = {
htmlText: string;
align: string;
url: string;
newtab: boolean;
src: string;
onClick?: () => void;
};
export type LeadGenThankYouProps = {
image: Partial<Pick<LeadGenThankYouItem, 'src'>>;
title: Partial<Pick<LeadGenThankYouItem, 'htmlText' | 'align'>>;
description: Partial<Pick<LeadGenThankYouItem, 'htmlText' | 'align'>>;
showButton?: boolean;
button: Partial<Pick<LeadGenThankYouItem, 'htmlText' | 'newtab' | 'url' | 'onClick'>>;
className?: string;
style?: CSSProperties;
};
export declare const LeadGenThankYou: ({ image, title, description, showButton, button, className, style, }: LeadGenThankYouProps) => React.JSX.Element;
export {};