@hhgtech/hhg-components
Version:
Hello Health Group common components
35 lines (34 loc) • 1.07 kB
TypeScript
import React from 'react';
import { SubotNodeAction } from "../../../interfaces/types";
type Props = {
action: SubotNodeAction;
formError: any;
control: any;
initValue?: Record<string, string>;
onChange: (name: string, value: any) => void;
};
export declare enum SITE_NATIONS {
HELLO_BAC_SI = "VN",
MARRY_BABY = "VN",
HELLO_SEHAT = "ID",
HELLO_KHUNMOR = "TH",
HELLO_DOKTOR = "MY",
HELLO_YISHI = "TW",
HELLO_KRUPET = "KH",
HELLO_SAYARWON = "MM",
HELLO_SWATHYA = "IN",
HELLO_DOCTOR = "PH",
HELLO_DOCTOR_FIL = "PH"
}
export declare const googleMapsApisPlaceDetailsTypes: {
streetNumber: string;
street: string;
ward: string;
district: string;
city: string;
province: string;
};
export declare const googleMapAddressKeys: string[];
declare function GoogleAddressField({ action, formError, control, initValue, onChange, }: Props): React.JSX.Element;
declare const _default: React.MemoExoticComponent<typeof GoogleAddressField>;
export default _default;