2.0.5 • Published 6 months ago

@types/ink-text-input v2.0.5

Weekly downloads
52
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for ink-text-input 2.0
// Project: https://github.com/vadimdemedes/ink-text-input#readme
// Definitions by: Łukasz Ostrowski <https://github.com/lukostry>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

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: Thu, 08 Jul 2021 14:23:14 GMT
  • Dependencies: @types/ink
  • Global values: none

Credits

These definitions were written by Łukasz Ostrowski.

2.0.3

8 months ago

2.0.5

6 months ago

2.0.4

7 months ago

2.0.2

3 years ago

2.0.1

5 years ago

2.0.0

5 years ago