TextareaProps
Props of Textarea
This component is an enhanced textarea html component with an animated label and support for dynamic value updates.
Properties
className?
optionalclassName:string
Additional CSS classes applied to the textarea element.
label?
optionallabel:string
A label displayed above the input field with animation.
onBlur()?
optionalonBlur: (val) =>void
Focus loss event handler (blur).
Parameters
val
string
Returns
void
onChange()?
optionalonChange: (v) =>void
Value change handler.
Parameters
v
string
Returns
void
placeholder?
optionalplaceholder:string
Placeholder text displayed when the value is empty.
skipAnimationOnce?
optionalskipAnimationOnce:boolean
Flag that allows you to skip the animation once during initialization.
value
value:
string
The current value of the text field.