react-native-country-picker-modal
Version:
react-native country picker
25 lines (24 loc) • 883 B
TypeScript
/// <reference types="react" />
import { StyleProp, ViewStyle } from 'react-native';
import { CountryCode } from './types';
export interface FlagButtonProps {
withEmoji?: boolean;
withCountryNameButton?: boolean;
withCurrencyButton?: boolean;
withCallingCodeButton?: boolean;
withFlagButton?: boolean;
containerButtonStyle?: StyleProp<ViewStyle>;
countryCode?: CountryCode;
placeholder: string;
onOpen?(): void;
}
export declare const FlagButton: {
({ withEmoji, withCountryNameButton, withCallingCodeButton, withCurrencyButton, withFlagButton, countryCode, containerButtonStyle, onOpen, placeholder, }: FlagButtonProps): JSX.Element;
defaultProps: {
withEmoji: boolean;
withCountryNameButton: boolean;
withCallingCodeButton: boolean;
withCurrencyButton: boolean;
withFlagButton: boolean;
};
};