TextArea
A standard textarea (multi line text box)
Installation
Properties
value
string
The actual text
onChange
(value: string) => void
This function is called whenever the text changes. The new text value is passed as a parameter
onFocus
() => void
callback function on focus
onBlur
(vale: string) => void
callback function on blur
onKeyDown
(e: React.KeyboardEvent, val: string) => void
callback function on key down
className
string
Any additional class names to be included for the input field
styles
React.CSSProperties
additional styles
readOnly
boolean
mark input as read only
tabIndex
number
tab index. default is 0
rows
number
number of rows
cols
number
number of cols
value
The actual text
string
onChange
This function is called whenever the text changes. The new text value is passed as a parameter
(value: string) => void
onFocus
callback function on focus
() => void
onBlur
callback function on blur
(vale: string) => void
onKeyDown
callback function on key down
(e: React.KeyboardEvent, val: string) => void
className
Any additional class names to be included for the input field
string
styles
additional styles
React.CSSProperties
readOnly
mark input as read only
boolean
tabIndex
tab index. default is 0
number
rows
number of rows
number
cols
number of cols
number
Last updated