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

17

ink-select-input/index.d.ts

@@ -1,20 +0,23 @@

// Type definitions for ink-select-input 2.0
// 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
import { Component, InkComponent } from 'ink';
import { Component } from 'react';
interface ItemOfSelectInput {
export interface ItemOfSelectInput {
label: string;
value: any;
key?: string | number;
}
interface SelectInputProps<T extends ItemOfSelectInput = ItemOfSelectInput> {
export interface SelectInputProps<T extends ItemOfSelectInput = ItemOfSelectInput> {
focus?: boolean;
indicatorComponent?: InkComponent;
itemComponent?: InkComponent;
indicatorComponent?: Component;
itemComponent?: Component;
items?: ReadonlyArray<T>;
limit?: number;
initialIndex?: number;
onSelect?: (item: T) => void;

@@ -25,2 +28,2 @@ }

export = SelectInput;
export default SelectInput;
{
"name": "@types/ink-select-input",
"version": "2.0.0",
"version": "3.0.0",
"description": "TypeScript definitions for ink-select-input",

@@ -11,2 +11,7 @@ "license": "MIT",

"githubUsername": "lukostry"
},
{
"name": "Jakub Satnik",
"url": "https://github.com/shatodj",
"githubUsername": "shatodj"
}

@@ -23,6 +28,6 @@ ],

"dependencies": {
"@types/ink": "*"
"@types/react": "*"
},
"typesPublisherContentHash": "3159e16ce0cc086b86ed50351bf60b0ff8a4839424b29e2901277d75b32a8d03",
"typesPublisherContentHash": "dab43eab4b0b7fd797635d08d600fcaa070a3a0ce0bf91a4c7061df6e45f72a0",
"typeScriptVersion": "2.8"
}

@@ -11,7 +11,7 @@ # Installation

Additional Details
* Last updated: Mon, 18 Mar 2019 22:22:38 GMT
* Dependencies: @types/ink
* Last updated: Wed, 27 Mar 2019 23:19:36 GMT
* Dependencies: @types/react
* Global values: none
# Credits
These definitions were written by Łukasz Ostrowski <https://github.com/lukostry>.
These definitions were written by Łukasz Ostrowski <https://github.com/lukostry>, Jakub Satnik <https://github.com/shatodj>.
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