UNPKG

@hhgtech/hhg-components

Version:
15 lines (14 loc) 570 B
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 };