UNPKG

@tritium-research/react-component

Version:

A react component library based on material-ui, build for tritium internal usecases.

17 lines (16 loc) 609 B
import { OutlinedTextFieldProps } from "@mui/material/TextField"; import React, { ReactNode } from "react"; export interface InputProps extends Omit<OutlinedTextFieldProps, "label" | "required" | "disabled"> { label?: string | ReactNode; labelGap?: number; maxLength?: number; showCount?: boolean; required?: boolean; height?: number; numberOnly?: boolean; errorMessage?: string; errorMeesageGap?: number; disabled?: boolean; } declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>; export default Input;