1.1.6 • Published 6 months ago

@types/react-flags-select v1.1.6

Weekly downloads
3,660
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/react-flags-select

Summary

This package contains type definitions for react-flags-select (https://github.com/ekwonye-richard/react-flags-select#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-flags-select.

index.d.ts

// Type definitions for react-flags-select 1.1
// Project: https://github.com/ekwonye-richard/react-flags-select#readme
// Definitions by: Artur Sianiuk <https://github.com/senukartur>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import { Component } from 'react';

interface Props {
    countries?: string[] | undefined;
    blackList?: boolean | undefined;
    customLabels?: {[propName: string]: string} | undefined;
    selectedSize?: number | undefined;
    optionsSize?: number | undefined;
    defaultCountry?: string | undefined;
    placeholder?: string | undefined;
    className?: string | undefined;
    showSelectedLabel?: boolean | undefined;
    showOptionLabel?: boolean | undefined;
    alignOptions?: string | undefined;
    onSelect?: ((countryCode: string) => void) | undefined;
    disabled?: boolean | undefined;
    searchable?: boolean | undefined;
}
declare class ReactFlagsSelect extends Component<Props> {
    updateSelected(countryCode: string): void;
}

export default ReactFlagsSelect;

Additional Details

  • Last updated: Thu, 08 Jul 2021 20:20:40 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Artur Sianiuk.

1.1.6

6 months ago

1.1.5

7 months ago

1.1.4

8 months ago

1.1.3

3 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago