ExpandingTextarea

The height of the ExpandingTextarea will expand when the user adds a new line. It will take at maximum 25% of the current viewport. (max-height: 25vh)

Example

Usage

NameTypeDescription
autoFocusboolDefault: false
placeholderstring
onEnterfunc
onHeightChangefunc
containerStyleobject
onChangefunc
valuestring
onFocusfunc
onTextareafunc