UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

26 lines (25 loc) 662 B
import React from "react"; import { TextFieldProps } from "@mui/material/TextField"; /** * Input field props */ export type InputFieldProps = TextFieldProps & { /** * Change [delay (ms), Minimum characters] to avoid repeatly dispatch */ changeDelay?: [number, number?]; /** * Change delay handler */ onChangeDelay?: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>; /** * Is the field read only? */ readOnly?: boolean; }; /** * Input field * @param props Props * @returns Component */ export declare function InputField(props: InputFieldProps): import("react/jsx-runtime").JSX.Element;