import React from "react"; import { FilledTextFieldProps as MuiTextFieldProps } from "@mui/material/TextField"; import { EndAdornmentProps } from "./EndAdornment"; import { InputProps } from "./Input"; export interface TextFieldProps extends Omit { /** * The color of the component. The prop defaults to the value (`'secondary'`) */ color?: InputProps["color"]; /** * The size of the component. The prop defaults to the value (`'md'`) */ size?: InputProps["size"]; /** * Props passing to the `InputProps` element. */ InputProps?: Omit; /** * If not undefined, an action button is rendered as part of end adornment. */ actionButtonProps?: EndAdornmentProps["actionButtonProps"]; } declare const TextField: React.FC; export default TextField;