UNPKG

@ucam/design-system

Version:
24 lines (23 loc) 722 B
import { FC } from 'react'; import { FormControlProps } from '@material-ui/core/FormControl'; import { CustomInputProps } from '../Input/Input'; export declare type TextFieldProps = CustomInputProps & { /** * Label text displayed to describe the TextField's expected input */ label: string; /** * Hint text displayed to assist user in completeing the TextField */ hint?: string; /** * Feedback text displayed to communicate state changes */ feedback?: string; /** * Props to override on the FormControl component */ formControlProps?: FormControlProps; }; declare const TextField: FC<TextFieldProps>; export default TextField;