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

1.1.4 • Public • Published

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

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(): React.JSX.Element;
}

Additional Details

  • Last updated: Wed, 06 Dec 2023 06:36:35 GMT
  • Dependencies: @types/react

Credits

These definitions were written by DongKyoo Kim.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/iput

Weekly Downloads

85

Version

1.1.4

License

MIT

Unpacked Size

3.79 kB

Total Files

5

Last publish

Collaborators

  • types