@hhgtech/hhg-components
Version:
Hello Health Group common components
29 lines (28 loc) • 911 B
TypeScript
import type { Country } from 'react-phone-number-input';
import { LOCALE } from "../types";
export type DayjsLocaleKeys = 'en' | 'tl-ph' | 'km' | 'hi' | 'id' | 'my' | 'ms-my' | 'th' | 'zh-tw' | 'vi';
export type SiteOption = {
lng: LOCALE;
ns: 'translation' | 'marrybaby';
name: string;
theme: 'hellosite' | 'marrybaby';
dayjs: DayjsLocaleKeys;
phoneCountry: Country;
siteId: number;
};
export declare const siteHost: {
HELLO_HEALTH_GROUP: string;
HELLO_DOCTOR: string;
HELLO_DOCTOR_FIL: string;
HELLO_KRUPET: string;
HELLO_SWASTHYA: string;
HELLO_SEHAT: string;
HELLO_SAYARWON: string;
HELLO_DOKTOR: string;
HELLO_KHUNMOR: string;
HELLO_YISHI: string;
HELLO_BACSI: string;
MARRY_BABY: string;
};
export type SiteKeys = keyof typeof siteHost;
export declare const siteOptions: Record<SiteKeys, SiteOption>;