@hhgtech/hhg-components
Version:
Hello Health Group common components
21 lines (20 loc) • 776 B
TypeScript
import React from 'react';
import { SubotMessage, SubotNodeAction } from "../../../interfaces/types";
export type Dropdown = {
label: string;
value: string;
};
export type Props = {
className?: string;
style?: Record<string, unknown>;
actions: Array<SubotNodeAction>;
countryCode: string;
isFormRevamp?: boolean;
callBack: (val: Record<string, unknown>) => void;
formSubmitMeta: SubotMessage['form_submit_meta'] | null;
botId?: number | string;
nodeId?: string;
trackingSubmitBtn?: Record<string, any>;
};
declare const UserInfoForm: ({ className, style, actions, countryCode, callBack, formSubmitMeta, isFormRevamp, botId, nodeId, trackingSubmitBtn, }: Props) => React.JSX.Element;
export { UserInfoForm };