@betterstore/react
Version:
9 lines (8 loc) • 446 B
TypeScript
import * as React from "react";
import * as RPNInput from "react-phone-number-input";
type PhoneInputComponentProps = Omit<React.ComponentProps<"input">, "onChange" | "value" | "ref"> & Omit<RPNInput.Props<typeof RPNInput.default>, "onChange"> & {
onChange?: (value: RPNInput.Value) => void;
locale?: string;
};
declare const PhoneInputComponent: React.ForwardRefExoticComponent<PhoneInputComponentProps>;
export { PhoneInputComponent };