File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,11 +30,12 @@ export type PhoneInputProps = {
3030 renderCustomDropdown ?: JSX . Element ;
3131 theme ?: Theme ;
3232 maskInputProps ?: MaskInputProps ;
33- countryPickerProps ?: Parameters < typeof CountryPicker > [ 0 ] ;
33+ countryPickerProps ?: Partial < Parameters < typeof CountryPicker > [ 0 ] > ;
3434 flagProps ?: Parameters < typeof Flag > [ 0 ] ;
3535 isCallingCodeEditable ?: boolean ;
3636 dropDownImageProps ?: ImageProps ;
3737} ;
38+
3839interface Theme {
3940 containerStyle ?: StyleProp < ViewStyle > ;
4041 textInputStyle ?: StyleProp < TextStyle > ;
Original file line number Diff line number Diff line change @@ -7,3 +7,8 @@ export { PhoneInput } from './PhoneInput';
77export { isValidNumber } from './utils' ;
88
99export type { PhoneInputProps } from './PhoneInput.types' ;
10+
11+ export type {
12+ CallingCode ,
13+ CountryCode ,
14+ } from 'react-native-country-picker-modal' ;
You can’t perform that action at this time.
0 commit comments