# AUTO GENERATED FILE - DO NOT EDIT
import typing # noqa: F401
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
from dash.development.base_component import Component, _explicitize_args
ComponentType = typing.Union[
str,
int,
float,
Component,
None,
typing.Sequence[typing.Union[str, int, float, Component, None]],
]
NumberType = typing.Union[
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
]
class Textarea(Component):
"""A Textarea component.
A basic HTML textarea for entering multiline text based on the corresponding
component in dash-core-components
Keyword arguments:
- id (string; optional):
The ID of the Textarea.
- value (string; default ''):
The value of the textarea.
- n_blur (number; default 0):
Number of times the input lost focus.
- n_submit (number; default 0):
Number of times the `Enter` key was pressed while the textarea had
focus. Only updates if submit_on_enter is True.
- n_clicks (number; default 0):
The number of times the TextArea has been clicked.
- valid (boolean; optional):
Apply valid style to the Textarea for feedback purposes. This will
cause any FormFeedback in the enclosing div with valid=True to
display.
- invalid (boolean; optional):
Apply invalid style to the Textarea for feedback purposes. This
will cause any FormFeedback in the enclosing div with valid=False
to display.
- placeholder (string; optional):
Provides a hint to the user of what can be entered in the field.
- size (string; optional):
Set the size of the Textarea, valid options are 'sm', 'md', or
'lg'.
- class_name (string; optional):
Additional CSS classes to apply to the Textarea.
- accesskey (string; optional):
Defines a keyboard shortcut to activate or add focus to the
element.
- autofocus (string; optional):
The element should be automatically focused after the page loaded.
- contenteditable (string | number; optional):
Indicates whether the element's content is editable.
- contextmenu (string; optional):
Defines the ID of a