Socket
Socket
Sign inDemoInstall

@types/react-flags-select

Package Overview
Dependencies
3
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/react-flags-select

TypeScript definitions for react-flags-select


Version published
Weekly downloads
1.5K
increased by4.69%
Maintainers
1
Install size
1.61 MB
Created
Weekly downloads
 

Readme

Source

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.

FAQs

Last updated on 08 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc