@hhgtech/hhg-components
Version:
Hello Health Group common components
15 lines (14 loc) • 570 B
TypeScript
import React from 'react';
export type FlagCountryType = 'VN' | 'ID' | 'TH' | 'KH' | 'MY' | 'MM' | 'PH' | 'IN' | 'TW';
export type FlagLanguageType = 'vi' | 'id' | 'ms' | 'km' | 'en' | 'th' | 'my' | 'zh' | 'hi' | 'tl';
export type Props = {
country?: FlagCountryType;
language?: FlagLanguageType;
width: number;
height: number;
rounded?: boolean;
isTesting?: boolean;
className?: string;
};
declare const Flag: ({ country, language, rounded, height, width, isTesting, className, }: Props) => React.JSX.Element;
export { Flag };