TextareaAutosize API
Demos
For examples and details on the usage of this React component, visit the component demo pages:
Import
import TextareaAutosize from '@mui/base/TextareaAutosize';
// or
import { TextareaAutosize } from '@mui/base';
Props
Name | Type | Default | Description |
---|---|---|---|
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.