@mui/material
Version:
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
13 lines • 413 B
TypeScript
import * as React from 'react';
export interface TextareaAutosizeProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'children' | 'rows'> {
ref?: React.Ref<HTMLTextAreaElement> | undefined;
/**
* Maximum number of rows to display.
*/
maxRows?: string | number | undefined;
/**
* Minimum number of rows to display.
* @default 1
*/
minRows?: string | number | undefined;
}