react-native-country-picker-modal-xkelxmc
Version:
react-native country picker
22 lines (21 loc) • 583 B
TypeScript
import { FlatListProps } from 'react-native';
import { Country } from './types';
interface CountryListProps {
data: Country[];
filter?: string;
filterFocus?: boolean;
withFlag?: boolean;
withEmoji?: boolean;
withAlphaFilter?: boolean;
withCallingCode?: boolean;
withCurrency?: boolean;
flatListProps?: FlatListProps<Country>;
onSelect(country: Country): void;
}
export declare const CountryList: {
(props: CountryListProps): import("react/jsx-runtime").JSX.Element;
defaultProps: {
filterFocus: undefined;
};
};
export {};