@hhgtech/hhg-components
Version:
Hello Health Group common components
30 lines (29 loc) • 1.11 kB
TypeScript
import React, { CSSProperties } from 'react';
import { LOCALE } from "../../../interfaces/types/Locale";
export type TypeProps = 'hellobacsi' | 'hellosehat' | 'hellohealth' | 'hellotogether' | 'hellocare' | 'logomark' | 'hellodoctor' | 'hellokrupet' | 'helloswasthya' | 'hellosayarwon' | 'helloyishi' | 'hellokhunmor' | 'hellodoktor' | 'marryBaby' | 'hellojiankang';
export type SeasonalProp = {
isChristmas: boolean;
isLunarNewYear: boolean;
isNewYear: boolean;
isRamadan: boolean;
isVNHungKing: boolean;
isVN3004: boolean;
isLabourDay: boolean;
isVNIndependentDay?: boolean;
};
export type Props = {
type: TypeProps;
customSize?: {
width: string;
height: string;
};
isLightLogo?: boolean;
className?: string;
style?: CSSProperties;
badge?: JSX.Element;
locale?: LOCALE;
dateForSeasonal?: number | string | Date;
isPro?: boolean;
};
declare const Logo: ({ type, className, style, isLightLogo, customSize, badge, locale, dateForSeasonal, isPro, }: Props) => React.JSX.Element;
export { Logo };