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

Comparing version 1.1.2 to 1.1.3

28

react-flags-select/index.d.ts

@@ -10,16 +10,16 @@ // Type definitions for react-flags-select 1.1

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;
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;
}

@@ -26,0 +26,0 @@ declare class ReactFlagsSelect extends Component<Props> {

{
"name": "@types/react-flags-select",
"version": "1.1.2",
"version": "1.1.3",
"description": "TypeScript definitions for react-flags-select",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-flags-select",
"license": "MIT",

@@ -14,5 +15,7 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/react-flags-select"
},

@@ -23,4 +26,4 @@ "scripts": {},

},
"typesPublisherContentHash": "86a1a252828ab23f3718094d5dc6a1ba0bd62b1ba62ece55fc2040c4ed53e174",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "1892675f989cc83a496a7c0737faccb3637102b40a1ecb12dd1b81f2399aaaab",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,43 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-flags-select
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-flags-select.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-flags-select/index.d.ts)
````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
Additional Details
* Last updated: Sat, 04 Aug 2018 00:56:31 GMT
* Dependencies: react
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](https://npmjs.com/package/@types/react)
* Global values: none
# Credits
These definitions were written by Artur Sianiuk <https://github.com/senukartur>.
These definitions were written by [Artur Sianiuk](https://github.com/senukartur).

Sorry, the diff of this file is not supported yet

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