@lifespikes/ui
Version:
Lifespikes ui
8 lines (7 loc) • 402 B
TypeScript
import * as React from 'react';
import * as RPNInput from 'react-phone-number-input';
export type PhoneInputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> & Omit<RPNInput.Props<typeof RPNInput.default>, 'onChange'> & {
onChange?: (value: RPNInput.Value) => void;
};
declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps>;
export { PhoneInput };