@types/ink-text-input
TypeScript icon, indicating that this package has built-in type declarations

2.0.5 • Public • Published

Installation

npm install --save @types/ink-text-input

Summary

This package contains type definitions for ink-text-input (https://github.com/vadimdemedes/ink-text-input#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ink-text-input.

index.d.ts

import { Component } from "ink";

interface TextInputProps {
    focus?: boolean | undefined;
    onChange?: ((value: string) => void) | undefined;
    onSubmit?: ((value: string) => void) | undefined;
    placeholder?: string | undefined;
    value?: string | undefined;
}

declare class TextInput extends Component<TextInputProps> {}

export = TextInput;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/ink

Credits

These definitions were written by Łukasz Ostrowski.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.53,270ts5.8
2.0.53,270ts5.7
2.0.53,270latest
2.0.53,270ts4.5
2.0.53,270ts4.6
2.0.53,270ts4.7
2.0.53,270ts4.8
2.0.53,270ts4.9
2.0.53,270ts5.0
2.0.53,270ts5.1
2.0.53,270ts5.2
2.0.53,270ts5.3
2.0.53,270ts5.4
2.0.53,270ts5.5
2.0.53,270ts5.9
2.0.53,270ts5.6
2.0.53,270ts6.0
2.0.22ts3.6
2.0.22ts3.7
2.0.22ts3.8
2.0.22ts3.9
2.0.22ts4.0
2.0.22ts4.1
2.0.22ts4.2
2.0.22ts4.3
2.0.22ts4.4
2.0.11ts2.8
2.0.11ts2.9
2.0.11ts3.0
2.0.11ts3.1
2.0.11ts3.2
2.0.11ts3.3
2.0.11ts3.4
2.0.11ts3.5

Version History

VersionDownloads (Last 7 Days)Published
2.0.53,270
2.0.41
2.0.30
2.0.22
2.0.11
2.0.00

Package Sidebar

Install

npm i @types/ink-text-input

Weekly Downloads

3,274

Version

2.0.5

License

MIT

Unpacked Size

3.4 kB

Total Files

5

Last publish

Collaborators

  • types