Socket
Socket
Sign inDemoInstall

@types/ink-select-input

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 3.0.0 to 3.0.1

16

ink-select-input/index.d.ts

@@ -13,13 +13,13 @@ // Type definitions for ink-select-input 3.0

value: any;
key?: string | number;
key?: string | number | undefined;
}
export interface SelectInputProps<T extends ItemOfSelectInput = ItemOfSelectInput> {
focus?: boolean;
indicatorComponent?: Component;
itemComponent?: Component;
items?: ReadonlyArray<T>;
limit?: number;
initialIndex?: number;
onSelect?: (item: T) => void;
focus?: boolean | undefined;
indicatorComponent?: Component | undefined;
itemComponent?: Component | undefined;
items?: ReadonlyArray<T> | undefined;
limit?: number | undefined;
initialIndex?: number | undefined;
onSelect?: ((item: T) => void) | undefined;
}

@@ -26,0 +26,0 @@

{
"name": "@types/ink-select-input",
"version": "3.0.0",
"version": "3.0.1",
"description": "TypeScript definitions for ink-select-input",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ink-select-input",
"license": "MIT",

@@ -19,3 +20,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -30,4 +31,4 @@ "type": "git",

},
"typesPublisherContentHash": "dab43eab4b0b7fd797635d08d600fcaa070a3a0ce0bf91a4c7061df6e45f72a0",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "2d76799a3efb6b835b8492494c48595436b1e582e32f09511e16339fa1b81390",
"typeScriptVersion": "3.6"
}

@@ -5,13 +5,45 @@ # Installation

# Summary
This package contains type definitions for ink-select-input ( https://github.com/vadimdemedes/ink-select-input#readme ).
This package contains type definitions for ink-select-input (https://github.com/vadimdemedes/ink-select-input#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ink-select-input
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ink-select-input.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ink-select-input/index.d.ts)
````ts
// Type definitions for ink-select-input 3.0
// Project: https://github.com/vadimdemedes/ink-select-input#readme
// Definitions by: Łukasz Ostrowski <https://github.com/lukostry>
// Jakub Satnik <https://github.com/shatodj>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
Additional Details
* Last updated: Wed, 27 Mar 2019 23:19:36 GMT
* Dependencies: @types/react
import { Component } from 'react';
export interface ItemOfSelectInput {
label: string;
value: any;
key?: string | number | undefined;
}
export interface SelectInputProps<T extends ItemOfSelectInput = ItemOfSelectInput> {
focus?: boolean | undefined;
indicatorComponent?: Component | undefined;
itemComponent?: Component | undefined;
items?: ReadonlyArray<T> | undefined;
limit?: number | undefined;
initialIndex?: number | undefined;
onSelect?: ((item: T) => void) | undefined;
}
declare class SelectInput extends Component<SelectInputProps> { }
export default SelectInput;
````
### Additional Details
* Last updated: Thu, 08 Jul 2021 14:23:13 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)
* Global values: none
# Credits
These definitions were written by Łukasz Ostrowski <https://github.com/lukostry>, Jakub Satnik <https://github.com/shatodj>.
These definitions were written by [Łukasz Ostrowski](https://github.com/lukostry), and [Jakub Satnik](https://github.com/shatodj).

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