diff --git a/docs/content/3.forms/2.textarea.md b/docs/content/3.forms/2.textarea.md index a6461e5b..df8a68cf 100644 --- a/docs/content/3.forms/2.textarea.md +++ b/docs/content/3.forms/2.textarea.md @@ -85,6 +85,20 @@ props: --- :: +### Rows + +Use the `rows` prop to set the number of rows of the Textarea. + +::component-card +--- +baseProps: + name: 'input' + placeholder: 'Search...' +props: + rows: 1 +--- +:: + ### Disabled Use the `disabled` prop to disable the Textarea. @@ -99,6 +113,35 @@ props: --- :: +### Autoresize + +Use the `autoresize` prop to enable the autoresize. Writing more lines than the `rows` prop will make the Textarea grow up. + +::component-card +--- +baseProps: + name: 'input' + placeholder: 'Search...' + modelValue: 'Here is an autoresize Textarea, write new lines to make the Textarea grow up...' +props: + autoresize: true +--- +:: + +### Resize + +Use the `resize` prop to enable the resize control. + +::component-card +--- +baseProps: + name: 'input' + placeholder: 'Search...' +props: + resize: true +--- +:: + ## Props :component-props