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.