Wrapper
The Textarea component wrapper.
This is a compound component.
API
This component extends the native <div> API. That's why the className prop is not included in the table.
Props
Type
Required
children
ReactNode
β
maxLengthCounter
number
β
hasError
boolean
β
isDisabled
boolean
β
isReadOnly
boolean
β
children
The children in this case, because it is a compound component, should be the ones provided by this design system.
maxLengthCounter
A visual representation of the max length passed to the textarea. Not to be used on the Control subcomponent. This does NOT controls the maxLength of the Textarea.
Last updated