UNPKG

materialuiupgraded

Version:

Material-UI's workspace package

23 lines (18 loc) 574 B
import * as React from 'react'; import { StandardProps } from '..'; export interface TextareaProps extends StandardProps< React.TextareaHTMLAttributes<HTMLTextAreaElement>, TextareaClassKey, 'rows' > { defaultValue?: any; disabled?: boolean; rows?: string | number; rowsMax?: string | number; textareaRef?: React.Ref<any> | React.RefObject<any>; value?: string; } export type TextareaClassKey = 'root' | 'shadow' | 'textarea'; declare const Textarea: React.ComponentType<TextareaProps>; export default Textarea;