UNPKG

@material-ui/core

Version:

React components that implement Google's Material Design.

23 lines (18 loc) 552 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;