@hhgtech/hhg-components
Version:
Hello Health Group common components
21 lines (20 loc) • 658 B
TypeScript
import React from 'react';
import { FooterInfo, FooterInfoMarryBaby, LocaleType } from "../../../interfaces/types";
export type Props = {
type?: 'main' | 'mini';
locale: LocaleType;
basePath: string;
footerInfo: FooterInfo | FooterInfoMarryBaby;
background?: string;
} & ({
siteType: 'marryBaby';
} | {
siteType: 'helloSites';
});
export type Flag = {
country: CountryInitial;
link: string;
};
export type CountryInitial = 'VN' | 'ID' | 'TH' | 'KH' | 'MY' | 'MM' | 'PH' | 'IN' | 'TW';
declare const Footer: ({ locale, footerInfo, siteType, background }: Props) => React.JSX.Element;
export { Footer };