Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Latest commit

 

History

History
25 lines (17 loc) · 521 Bytes

textarea.md

File metadata and controls

25 lines (17 loc) · 521 Bytes

Forms/Textarea

Renders a form textarea.

<Textarea />

Props

value={string}}
The textarea value.

name={string}
The name of the textarea.

onChange={function}
Triggered when the textarea value changes. Receives the value and name of the text area as arguments.

autosize={boolean}
Set this property (just add it like <Textarea autosize />) if you want your textareas to use autosize (automatically adjust height)

CSS

Adds dp-textarea to the root element.