1.1.4 • Published 5 months ago

@types/iput v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Installation

npm install --save @types/iput

Summary

This package contains type definitions for iput (https://github.com/lizheming/iput).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/iput.

index.d.ts

// Type definitions for iput 1.1
// Project: https://github.com/lizheming/iput
// Definitions by: DongKyoo Kim <https://github.com/kdk8747>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as React from 'react';

export interface IputProp {
    className?: string;
    defaultValue?: string | string[];
    isError?: () => boolean;
    onChange?: (value: string) => void;
}
export interface IputState {
    value: string[];
}
export default class IPut extends React.Component<IputProp, IputState> {
    onPropsChange(): void;
    handleChange(e: React.ChangeEvent<HTMLInputElement>, i: number): void;
    handleKeyDown(e: React.KeyboardEvent<HTMLInputElement>, i: number): void;
    handlePaste(e: React.ClipboardEvent<HTMLInputElement>, i: number): void;
    render(): JSX.Element;
}

Additional Details

  • Last updated: Wed, 24 Nov 2021 21:31:10 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by DongKyoo Kim.

1.1.4

5 months ago

1.1.1

8 months ago

1.1.3

6 months ago

1.1.2

7 months ago

1.1.0

2 years ago