TextareaAutosize API
API documentation for the React TextareaAutosize component. Learn about the available props, and the CSS API.
Import
import TextareaAutosize from '@material-ui/core/TextareaAutosize';
// o
import { TextareaAutosize } from '@material-ui/core';
Props
Nombre | Tipo | Por defecto | Descripción |
---|---|---|---|
maxRows | number | string | Maximum number of rows to display. | |
minRows | number | string | 1 | Minimum number of rows to display. |
The
ref
is forwarded to the root element.Any other props supplied will be provided to the root element (native element).