1 | import * as React from 'react';
|
2 |
|
3 | export interface TextareaAutosizeProps
|
4 | extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'children' | 'rows'> {
|
5 | ref?: React.Ref<HTMLTextAreaElement>;
|
6 | /**
|
7 | * Maximum number of rows to display.
|
8 | */
|
9 | maxRows?: string | number;
|
10 | /**
|
11 | * Minimum number of rows to display.
|
12 | * @default 1
|
13 | */
|
14 | minRows?: string | number;
|
15 | }
|
16 |
|
17 | /**
|
18 | *
|
19 | * Demos:
|
20 | *
|
21 | * - [Textarea Autosize](https://mui.com/components/textarea-autosize/)
|
22 | *
|
23 | * API:
|
24 | *
|
25 | * - [TextareaAutosize API](https://mui.com/api/textarea-autosize/)
|
26 | */
|
27 | export default function TextareaAutosize(props: TextareaAutosizeProps): JSX.Element;
|