// Type definitions for react-flags-select 1.1 // Project: https://github.com/ekwonye-richard/react-flags-select#readme // Definitions by: Artur Sianiuk // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.6 import { Component } from 'react'; interface Props { countries?: string[]; blackList?: boolean; customLabels?: {[propName: string]: string}; selectedSize?: number; optionsSize?: number; defaultCountry?: string; placeholder?: string; className?: string; showSelectedLabel?: boolean; showOptionLabel?: boolean; alignOptions?: string; onSelect?: (countryCode: string) => void; disabled?: boolean; searchable?: boolean; } declare class ReactFlagsSelect extends Component { updateSelected(countryCode: string): void; } export default ReactFlagsSelect;