@hhgtech/hhg-components
Version:
Hello Health Group common components
18 lines (17 loc) • 530 B
TypeScript
import React, { FC } from 'react';
import { Country } from 'react-phone-number-input';
interface FlagProps {
country: Country;
countryName: string;
flagUrl?: string;
}
type PhoneInputProps = {
className?: string;
error?: boolean;
} & {
[key: string]: any;
};
export declare const FlagComponent: (props: FlagProps) => React.JSX.Element;
export declare const PhoneInput: FC<PhoneInputProps>;
export declare const PhoneInputWithCode: (props: PhoneInputProps) => React.JSX.Element;
export {};