# @types/ink-select-input

> TypeScript definitions for ink-select-input

Latest version **3.0.5** (published 2023-11-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/ink-select-input
pnpm add @types/ink-select-input
yarn add @types/ink-select-input
bun add @types/ink-select-input
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.0.5 |
| Published | 2023-11-21 |
| First published | 2019-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51422 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/ink-select-input
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ink-select-input
- npm.io page: https://npm.io/package/@types/ink-select-input

## Dependencies (1)

- [@types/react](https://npm.io/package/@types/react.md) *

## Recent versions

- 3.0.5 (latest) — 2023-11-21
- 3.0.1 (ts3.6) — 2021-07-08
- 3.0.0 (ts2.8) — 2019-03-27
- 3.0.4 — 2023-11-07
- 3.0.3 — 2023-10-18
- 3.0.2 — 2023-09-26
- 2.0.0 — 2019-03-18

## README

# Installation
> `npm install --save @types/ink-select-input`

# Summary
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.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ink-select-input/index.d.ts)
````ts
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?: readonly 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: Mon, 20 Nov 2023 23:36:24 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Łukasz Ostrowski](https://github.com/lukostry), and [Jakub Satnik](https://github.com/shatodj).

---
_Source: https://npm.io/package/@types/ink-select-input · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
