Skip to content

Commit

Permalink
textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelsycamore committed Sep 6, 2023
1 parent a97986a commit 420b1c4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/data/base/components/textarea-autosize/textarea-autosize.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,11 @@ The height of the Textarea Autosize component automatically adjusts as a respons

## Component

### Usage

After [installation](/base-ui/getting-started/quickstart/#installation), you can start building with this component using the following basic elements:

```jsx
import { TextareaAutosize } from '@mui/base/TextareaAutosize';

export default function MyApp() {
return <TextareaAutosize />;
}
```

### Basics

Textarea Autosize behaves similarly to the native HTML`<textarea>`.

By default, an empty Textarea Autosize component renders as a single row, as shown in the following demo:

{{"demo": "UnstyledTextarea", "defaultCodeOpen": false}}
Expand Down

0 comments on commit 420b1c4

Please sign in to comment.