UNPKG

phone-input-react-native-paper

Version:

Simple phone input component using React Native Paper

21 lines 748 B
import React from 'react'; import { StyleProp, ViewStyle, TextStyle } from 'react-native'; import { type CountryCode } from './CountryPicker'; interface PhoneInputProps { inputLabel?: string; defaultCountry?: CountryCode; value?: string; onChangePhone?: (phone: string) => void; inputStyle?: StyleProp<TextStyle>; countryPickerLabel?: string; inputPlaceholder?: string; withLabels?: boolean; withSelectedCountryCode?: boolean; withCountryPicker?: boolean; countryPickerStyle?: StyleProp<TextStyle>; containerStyle?: StyleProp<ViewStyle>; withCountryPickerChevron?: boolean; } declare const PhoneInput: React.FC<PhoneInputProps>; export default PhoneInput; //# sourceMappingURL=PhoneInput.d.ts.map