Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,4 @@ jspm_packages
# MacOS files
.DS_Store

# Output
dist/
package-lock.json
13 changes: 13 additions & 0 deletions dist/CountryPicker.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Component } from 'react';
import { ReactNativeCountryPickerProps, ReactNativeCountryPickerState } from './typings';
export default class CountryPicker extends Component<ReactNativeCountryPickerProps, ReactNativeCountryPickerState> {
private picker;
constructor(props: any);
selectCountry(selectedCountry: any): void;
onPressCancel: () => void;
onPressSubmit: () => void;
onValueChange: (selectedCountry: any) => void;
show(): void;
renderItem(country: any, index: any): JSX.Element;
render(): JSX.Element;
}
105 changes: 105 additions & 0 deletions dist/CountryPicker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions dist/PhoneInput.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import React from 'react';
import { TextInput } from 'react-native';
import { ReactNativePhoneInputProps } from './typings';
export default class PhoneInput<TextComponentType extends React.ComponentType = typeof TextInput> extends React.Component<ReactNativePhoneInputProps<TextComponentType>, any> {
static setCustomCountriesData(json: any): void;
private picker;
private inputPhone;
constructor(props: any);
componentDidUpdate(): void;
onChangePhoneNumber: (number: any) => void;
onPressFlag: () => void;
getPickerData(): any;
getCountryCode(): any;
getAllCountries(): any;
getFlag: (iso2: any) => any;
getDialCode(): string;
getValue(text?: any): any;
getNumberType(): any;
getISOCode: () => any;
selectCountry: (iso2: any) => void;
setValue: (number: any) => void;
isValidNumber(): any;
format(text: any, iso2?: any): any;
updateValue(number: any, actionAfterSetState?: any): void;
possiblyEliminateZeroAfterCountryCode(number: any): any;
getAccessibilityLabel(): string;
focus(): void;
blur(): void;
render(): JSX.Element;
}
Loading