@slashid/react
Version:
React SDK for the /id platform
16 lines • 394 B
TypeScript
import { BaseInputProps } from "./input.base";
export type Flag = {
name: string;
dial_code: string;
code: string;
flag: string;
preferred?: boolean;
};
type PhoneProps = BaseInputProps & {
type?: "tel";
flag: Flag;
onFlagChange: (flag: Flag) => void;
};
export declare const PhoneInput: React.FC<PhoneProps>;
export {};
//# sourceMappingURL=input.phone.d.ts.map