infinity-forge
Version:
37 lines (36 loc) • 1.14 kB
TypeScript
import { AtenaPageProps, IconsNames, IFormHandler } from '../../../../../../ui/index.js';
import * as Versions from './versions/index.js';
export type ContactVersionsName = keyof typeof Versions;
type ContactItem = {
id: number;
titulo: string;
icon: IconsNames;
link: string;
target: boolean;
};
export type ContactJSON = {
version?: ContactVersionsName;
inputName?: boolean;
inputEmail?: boolean;
inputPhone?: boolean;
inputDescription?: boolean;
inputNameLabel?: string;
inputEmailLabel?: string;
inputPhoneLabel?: string;
inputDescriptionLabel?: string;
inputNamePlaceholder?: string;
inputEmailPlaceholder?: string;
inputPhonePlaceholder?: string;
inputDescriptionPlaceholder?: string;
submitButtonText?: string;
items?: ContactItem[];
css?: string;
recaptcha?: string;
messageProviderKey?: string;
};
export declare function Contact({ isGlobal, formHandler, sendToPanel, customRef, }: AtenaPageProps & {
formHandler?: IFormHandler;
sendToPanel?: boolean;
customRef?: string;
}): import("react/jsx-runtime").JSX.Element;
export {};