Text area
Last updated: 2.0.0 (18/01/2024)
Usage
Allow resize
Props
autoComplete
boolean
Whether the value of the input can be automatically completed by the browser/OS. Defaults to false
.
spellCheck
boolean
Whether the input is subject to spell checking by the browser/OS. Defaults to true
.
cols
number
Specifies the visible width of the input.
rows
number
Specifies the visible number of lines in the input.
wrap
Specifies how the text in the input is to be wrapped.
resize
Specifies how the input can be resized. Defaults to "none"
.
minHeight
CSSProperties["minHeight"]
The minimum height of the input.
maxHeight
CSSProperties["maxHeight"]
The maximum height of the input.
minWidth
CSSProperties["minWidth"]
The minimum width of the input.
maxWidth
CSSProperties["maxWidth"]
The maximum width of the input.
grow
boolean
Shorthand for flex-grow = 1
.
LineWrapBehaviour
ResizeBehaviour
Last updated
Was this helpful?