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