@qite/tide-booking-component
Version:
React Booking wizard & Booking product component for Tide
18 lines (17 loc) • 478 B
TypeScript
import React from 'react';
import { Country } from '../types';
interface PhoneInputProps {
name: string;
required?: boolean;
value?: string | number;
label?: string;
placeholder?: string;
hasError?: boolean;
extraClassName?: string;
countries: Country[];
countryIso2?: string;
onChange?: React.ChangeEventHandler<HTMLElement>;
onBlur?: React.FocusEventHandler<HTMLElement>;
}
declare const PhoneInput: React.FC<PhoneInputProps>;
export default PhoneInput;