@types/react-flags-select
Advanced tools
Weekly downloads
Readme
npm install --save @types/react-flags-select
This package contains type definitions for react-flags-select (https://github.com/ekwonye-richard/react-flags-select#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-flags-select.
// 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;
These definitions were written by Artur Sianiuk.
FAQs
TypeScript definitions for react-flags-select
The npm package @types/react-flags-select receives a total of 636 weekly downloads. As such, @types/react-flags-select popularity was classified as not popular.
We found that @types/react-flags-select demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.