Usage

Props

NameTypeRequiredDefaultDescription
error
boolean
false

Controls the error state of the TextArea, changing the background color and border colors to red

since

10.19.0

resize
"none" | "both" | "horizontal" | "vertical"
false

Controls the resize rules for the TextArea

since

10.19.0

variant
"" | "error"
false
deprecated

The variant prop has been deprecated and will be removed in a future version. Please use the error boolean prop instead.

Before

<TextArea variant="error" />

After

<TextArea error />

deprecatedsince

10.20.0

since

10.19.0

defaultValue

disabled

error

resize

For more information on the CSS resize property.